broken legend and tooltip in zoomable sunburst chart (D3.js)
问题 I have a zoomable sunburst chart with the following issues: Legend is displaying vertically instead of horizontal. I thought that float:left on class legend would do the trick but labels display on new line instead. Allow users to disable categories in the legend to recalculate the sunburst chart. Tooltip is not showing up. What in the world am I missing? I want to append the grand total in the middle of the doughnut which dynamically changes upon zoom transitions. How does one go about that?