The sunburst attributes description does not mention the type of data array for ‘ids’ and ‘parents’:
https://github.com/plotly/plotly.js/blob/master/src/traces/sunburst/attributes.js#L26. That’s why I
started with integer ids and parent ids. But in this case the root is not displayed.
Converting ids to strings I got the right sunburst:
I’m wondering why this behaviour? Is it intended?
Maybe it should be mentioned in docs. I spent I lot of time to figure out why the root isn’t displayed in the former case.