Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Legend grouping in pie chart?

Is it possible to group legend entries in pie charts?

I am working on two nested pie charts where the outer chart breaks down the categories of the inner chart into more detail. Thus, I would like one legend entry to turn on/off one region on the inner chart and a number of corresponding regions on the outer chart. Is there any way to do this?

Hi @agplot,

I don’t think this is possible at the moment, but you could raise an issue with the plotly.js project if you’re interested (https://github.com/plotly/plotly.js).

-Jon