plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Display percentages on Sankey diagram [feature request]

Open guyts opened this issue 6 years ago • 3 comments

I find it will be very useful having the option to display percentages alongside the absolute numbers on Sankey diagrams created with plotly. For example, if the base node has sum of values of 100 going out of it in 5 flows, each flow accounting for 20% of the overall 100, I would like to display the 20 (value) and the 20% alongside (or instead, or toggle).

guyts avatar Sep 18 '19 14:09 guyts

To take this further, it would be extra cool if you could display both both input % (for example when hovering to the left of a node) and output % (for example when hovering to the right of a node). I find that usually you make a Sankey diagram because you are interested in both of these percentages so being able to show both explicitly would be extremely useful.

justmytwospence avatar Jul 19 '22 14:07 justmytwospence

Any updates on this one? :)

Is there any more or less clean way of doing it?

Normale avatar Dec 01 '23 01:12 Normale

hi @Normale, We don't have any updates on this feature request. It's currently not on our feature development roadmap.

Coding-with-Adam avatar Dec 01 '23 21:12 Coding-with-Adam