✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Root node font size in a sunburst graph


On the plotly page there is one example (Basic Sunburst Chart), where the font of the root in the middle is defined through “outsidetextfont”:

However, this does not work if there are more than one root nodes.

Is there a way to separately define the font for the root nodes (when there is more than one) vs. the rest of the graph?

For example, here:

How to change the font of “Australia”, “North America”, “Europe”?
I would appreciate any input!


I don’t think it is possible at the moment.
You may be interested to open a feature request at https://github.com/plotly/plotly.js/issues.

1 Like