Hi There,
Does anyone know how to create a multi-level bar graph like this one in Plotly?
https://images.tips.net/S22/Figs/T1188F1.png
Thanks!
Hi There,
Does anyone know how to create a multi-level bar graph like this one in Plotly?
https://images.tips.net/S22/Figs/T1188F1.png
Thanks!
Hi @apettah,
This isnβt directly possible yet. See https://github.com/plotly/plotly.js/issues/2799 for discussion.
Thanks,
-Jon
This plot for Subcategory Axes in Plotly https://plot.ly/~jordanpeterson/1039.embed looks multi-level. Not sure if similar method can be used for Grouped Bar Chart also.
Yes, I should have mentioned that you can always use lines (go.layout.Shape(type='line', ...)
) and text annotations (go.layout.Annotation(text='Label', showarrow=False, ...)
) to create custom chart elements (this is what at the example @caiyij mentioned does). The downside is that then youβre on your own in terms of placement/alignment.
-Jon