Black Lives Matter. Please consider donating to Black Girls Code today.

Plotly Graph Type Support

Hi There,

Does anyone know how to create a multi-level bar graph like this one in Plotly?


Hi @apettah,

This isn’t directly possible yet. See for discussion.


This plot for Subcategory Axes in Plotly 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.