You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a huge fan of Plotly Express Sunburst charts, but when viewing data with lots of small proportions (that are meaningful), it can be difficult to expand individual wedges because they're so small.
A Solution
I think it might be nice if there was a scrollable, clickable legend listing all of the inner wedges of the pie chart. I've included an an example .html spec that I hacked together by wrapping the plotly html. Clicking on the label in the legend expands the corresponding wedge in the sunburst chart. I'm not sure how feasible something like this is, but I think it might be a nice feature.
The text was updated successfully, but these errors were encountered:
Not quite; the suggested addition is to deal with wedges that are too small to click on by hovering over them by adding an interactive legend showing the inner wedges of the sunburst. As far as I can tell by looking at the example in the linked issue, it doesn't implement the type of legend included in the html spec I linked here and still has issues with small wedges.
gvwilson
changed the title
[FEATURE REQUEST] Interactive Legends for Plotly Express Sunburst Charts
add Interactive Legends for Plotly Express Sunburst Charts
Aug 13, 2024
Motivation
I'm a huge fan of Plotly Express Sunburst charts, but when viewing data with lots of small proportions (that are meaningful), it can be difficult to expand individual wedges because they're so small.
A Solution
I think it might be nice if there was a scrollable, clickable legend listing all of the inner wedges of the pie chart. I've included an an example .html spec that I hacked together by wrapping the plotly html. Clicking on the label in the legend expands the corresponding wedge in the sunburst chart. I'm not sure how feasible something like this is, but I think it might be a nice feature.
The text was updated successfully, but these errors were encountered: