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 here
https://github.com/benfred/venn.js/tree/master
My question: when changing the sets and overlaps to these data
"sets" : [
{"label": "CSS", "size": 10},
{"label": "JQuery", "size": 10},
{"label": "PHP", "size": 10},
{"label": "SQL", "size": 10}
],
"overlaps" : [
{"sets": [0,1], "size": 1},
{"sets": [0,2], "size": 0},
{"sets": [0,3], "size": 0},
{"sets": [1,2], "size": 1},
{"sets": [1,3], "size": 0},
{"sets": [2,3], "size": 0}
]
Shouldn't there be a overlap between JQuery and PHP? Is someone familiar with this? Also, if you change size 1 to 2, it change the diagram. It's really weird and I'm lost