Drill-Down Sunburst Chart
Sunburst Chart or Diagram represents hierarchical relational data in a circular chart. It looks similar to nested donut charts, however, the hierarchical nature of the Sunburst means that each level represents detalization of the previous one. In other words, children slices on each level comprise the whole of the parent slice.
The amCharts Sunburst chart supports drilling down right out of the box with no additional configuration needed. Clicking on any value with children will drill the chart down to this value in the center and its children on the outside.
Key implementation details
Sunburst chart is part of the hierarchy
module of the amCharts Charts package. To create a Sunburst chart we add a Container
to the page and then push a new Sunburst
object into it. Then we just configure categoryField
, valueField
, and childDataField
on the Sunburst.