[英]Venn diagram layout with d3.js
Is there a sample on how to do Venn diagram using d3.js? 有没有关于如何使用d3.js做维恩图的样本? I know about the two samples : 我知道这两个 样本 :
that are provided on D3 website. 在D3网站上提供。 However they force me to calculate by myself the xy position of the circles. 然而,他们迫使我自己计算圆圈的xy位置。 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. 我希望只将数据(圆形大小和重叠大小)提供给函数/图表,它应该为我做布局。
Venn Diagrams with D3.js Venn Diagrams与D3.js
It is working fine. 它工作正常。
I came by this project today; 我今天来到这个项目; D3 Extension: Area-Proportional Venn Diagrams . D3扩展:面积比例维恩图 。 I don't know why it is not listed in d3-plugins repo but looks like it is working fine . 我不知道为什么它没有在d3-plugins repo中列出,但看起来它工作正常 。
为了理解所需的算法,请阅读Leland Wilkinson的论文, 精确和近似面积比例的圆形维恩和欧拉图 ,发表于IEEE TVCG 2012年2月。据我所知,还没有人在D3中实现过venneuler
排列,但这将成为一个梦幻般的D3插件 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.