Questions tagged [venn.js]

A JavaScript library for creating Venn and Euler diagrams

Venn.js is a JavaScript library for creating Venn and Euler diagrams.


Useful links

8 questions
3
votes
1 answer

venn.js selecting Set[A] except Set[B]

I have this code: var sets = [ {sets: ['A'], size: 10}, {sets: ['B'], size: 10}, {sets: ['A','B'], size: 5} ]; var chart = venn.VennDiagram(); var div = d3.select("#venn").datum(sets).call(chart); using excellent venn.js library, my…
Afshin Gh
  • 7,918
  • 2
  • 26
  • 43
2
votes
1 answer

How to flip by Y venn diagramm? (venn.js)

I have simple venn diagramm built with d3.js and venn.js: https://jsfiddle.net/rvuf1z5o/ var sets = [ {sets: ['F'], size: 3}, {sets: ['G'], size: 3}, {sets: ['C'], size: 3}, {sets: ['F','G'], size: 1}, {sets: ['F','C'], size:…
Mariya Steksova
  • 850
  • 9
  • 14
1
vote
1 answer

d3-venn / venn.js Venn Circles are coming out enclosed within each other

Issue Here Currently I am having an issue where when I generate my venn diagram layout, I get a venn diagram without intersections and instead circles that become enclosed. I want to generate my venn diagram with clear intersections such as the…
Andres Kim
  • 21
  • 4
1
vote
2 answers

venn.js - JS venn diagram - cant replicate example code

I've found a nice JS package that produces Venn diagrams. I'm trying to replicate the example code with a few new values, but so far I'm having no success. Blog post: https://www.benfrederickson.com/venn-diagrams-with-d3.js/ Github:…
TolMera
  • 452
  • 10
  • 25
1
vote
1 answer

How can I add a sublabel to a static venn.js chart?

I was told about the Venn.js script on GitHub, which uses javascript to create Venn diagrams on an html page. I have a basic script working, but I would like to add a sublabel in each set and intersection that shows its size function LoadVenn()…
user4864716
0
votes
1 answer

Get element created by venn.js, when it is inside existing element

I have existing and want to include venn diagram into this element. Here is structure of my elements: ... some elements, for example or ... // this is Venn.js root element
diralik
  • 6,391
  • 3
  • 28
  • 52
0
votes
1 answer

Draw 5 way diagram using d3.js

I am using venn.js to try to visualize 5-way data. The data I am using is from R's VennDiagram Package. But it somehow can't show up. Most of the examples are using the even number of sets, is there anything special about the odd number? My code is…
MYjx
  • 4,157
  • 9
  • 38
  • 53
0
votes
1 answer

Venn Diagram with d3js

I'm creating a Venn diagram with d3js I know I should paste code when inserting links, but there are many code and my question is very simple. So, here is a running example http://codepen.io/ghiden/pen/bGAIg All documentation is…
gbvisconti
  • 412
  • 1
  • 4
  • 19