How to apply sunburst on 3 level hierarchies ?

A post was merged into an existing topic: How to efficiently use ggplotly to visualize 3 categories proportion ?