Vega Sunburst Hierarchy
A sunburst chart — concentric rings where the innermost ring is the root, each outer ring is one level deeper, and arc angles encode value within each parent. Vega's `partition` transform computes the polar layout from a hierarchical (parent/child) dataset; the `arc` mark draws t
Template details
- chart
- sunburst
- hierarchy
- vega
When to use this template
This visualization excels at revealing the hierarchical composition of a whole, showing how a top-level entity breaks down into its constituent parts across multiple levels. Analysts use it to understand the proportional contribution of each sub-component within its parent, making it easy to spot dominant branches or disproportionate allocations at any depth. It's particularly effective when the primary analytical goal is to trace the lineage and relative size of nested categories.
- Hierarchical data with clear parent-child relationships.
- Each node or leaf has an associated quantitative value.
- Data where part-to-whole composition across levels is key.
- Categorical levels, typically 3 or more deep.
- Datasets needing comparison of sibling proportions.
- Understanding how a total value is distributed through a tree.