🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Order of a stack bar chart


I wondered how can I order the label of a stack bar chart in dash?
Specifically, from the image shown below, how can I put the orange bar to the leftmost. Thanks!

The order of the bars should be dependent on the order that they were supplied in inside the 'data': [...] list

@chriddyp, could this behavior (stacking relative to value) be added to stacked bar charts? This would be very helpful for a timeseries charts where the distribution of categories change over time.