Node with less value looks big in d3 treemap

僤鯓⒐⒋嵵緔 提交于 2020-08-05 09:36:48

问题


In d3 treemap I want to represent the tiles of the treemap based on the values of thehierarchical data. Large value occupies should have large tile. My code is in the link https://codesandbox.io/s/hungry-kowalevski-or9bk?file=/src/treegraph.js . Here the B-B1 has larger value than B-B2 but in the chart B-B2 having larger tile. Attached the scrrenshot

来源:https://stackoverflow.com/questions/63108153/node-with-less-value-looks-big-in-d3-treemap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!