Using SVG image in HTMLWidget

白昼怎懂夜的黑 提交于 2020-04-18 05:45:21

问题


I am drawing pie charts for each node as shown in the image below. For the base map (i.e nodes and their connected edge), I am using SVG image and overlaying the pie on the top of the SVG image.

Previously, I was putting the code for SVG Image in HTML and was putting the pie charts on top of that using js and d3. Now, I need to create the HTMLWidgets so that I can use it anywhere. Here, I am not able to figure out that how can I use my svg image within HTMLWidget so that I can make the exact replica. ANy leads would be appreciated. TIA

来源:https://stackoverflow.com/questions/60736116/using-svg-image-in-htmlwidget

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