This demonstrates how to use d3-annotation() with d3.forceSimulation
to draw a Venn Diagram. In this the Venn shows a population of data visualizers (a semi-mythical and apparently controversial profession) that describe their organization as having data visualization professionals either embedded in other teams (green) or in a dedicated data visualization team (tan) or having both (green and tan). This uses d3.packEnclose
to determine the size and location of the annotation subject, which utilizes d3.annotationCalloutCircle
.
d3-annotation
by Susie Lu.
forked from emeeks's block: Annotated Venn
Updated missing url https://cdn.rawgit.com/susielu/d3-annotation/master/d3-annotation.js to https://cdn.jsdelivr.net/gh/susielu/d3-annotation/d3-annotation.js
https://d3js.org/d3.v4.js
https://cdn.rawgit.com/susielu/d3-annotation/master/d3-annotation.js