This sample displays the distribution of gold medals at the Olympic Games in Sochi.
Noteworthy things in the code:
- the 'parent-independent' calculation method is selected;
- circular positioning is set for the last level labels;
- a label with medals statistics is shown as Center Content of the chart;
- when the drillChange event occurs, the last level is turned on and off (shown/hidden).
The Sunburst Chart which is pictured above on the page displays the distribution of gold medals at the Olympic Games in Sochi (2014) by country and sport.
When the drillChange event occurs, the last level gets turned on or off, i.e. shown or hidden.