Venn diagram layout with d3.js

Yaron Naveh picture Yaron Naveh · Sep 22, 2012 · Viewed 11.1k times · Source

Is there a sample on how to do Venn diagram using d3.js? I know about the two samples:

enter image description here

enter image description here

that are provided on D3 website. However they force me to calculate by myself the x.y position of the circles. I am hoping to feed just the data (circle sizes and overlap size) to a function/chart and it should do the layout for me.

Answer

fgborja picture fgborja · Oct 10, 2013

Venn Diagrams with D3.js

enter image description here

enter image description here

It is working fine.