d3js: Texts of different bubbles are getting overlapped in bubble-chart

。_饼干妹妹 提交于 2019-12-11 14:46:30

问题


I have a graph as shown below:

Each bubble has some text with it and I also show a tipsy on hovering the bubble. As you can see, bubbles which have similar X and Y values are overlapping and thus the text of each bubble are getting mixed up so much that nothing is readable(Notice two red bubbles at Y:10-12 and X:30-35). I want to solve this issue, such that may be only one text is visible or both are visible in some way(if both are possible then this is preferred). Also, I have very less data in this graph. The data can vary a lot and thus I might have many bubbles in a very small range. Is there any way to solve this issue?

来源:https://stackoverflow.com/questions/47074763/d3js-texts-of-different-bubbles-are-getting-overlapped-in-bubble-chart

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