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

Boxplot with multiple categories in Dash


I have a question regarding box-plots have multiple categories. I have seen documentation using Plotly R doing that but I’m not sure if there is a way to replicate it using Dash.

Appreciate your help in advance.


For now, you’d have to do some tricks with annotations or just plot multiple figures, each figure having its own category.

We’re looking to provide a first class solution to this in the graphing library with this issue:

Thanks @chriddyp For now I’m using subplots and appending traces for each category.