Static documentation

Data Visualisation Catalogue Gallery

Rendered markdown notes for the catalogue review, compiler mapping, implementation tracker, and chart method specs.

38 chart methods
10 with reference assets
43 documents

Sunburst Diagram

Source: Data Visualisation Catalogue - Sunburst Diagram

Why This Belongs In The Compiler Gallery

Sunburst diagrams combine hierarchy aggregation with radial partition geometry. They are a high-value bridge between the existing polar-sector work and broader hierarchy layouts.

Data Contract

Each raw row is one hierarchy node.

FieldTypePurpose
nodecategoricalStable node id.
parentcategorical/nullParent node id; null identifies the root.
labeltextVisible node label.
valuequantitativeLeaf metric used for aggregate angular share.
aggregateValue, depth, sharederivedHierarchy and partition outputs.
pathDtext, derivedGenerated annular sector path.
innerRadius, outerRadius, startAngle, endAnglequantitative, derivedRadial sector geometry.

Compiler Mapping

Compiler partMapping
Data sourceRaw hierarchy-rows, normalized hierarchy, and derived sectors.
Transformhierarchy normalizes parent-child rows; layout with layoutKind: "sunburstSectors" derives annular paths.
ScalesOrdinal color by sector label.
LayersDirect path sectors plus text labels for readable sectors.

Faithfulness Notes

The hierarchy aggregation and annular path generation are compiler-owned. Remaining polish is radial guide labels, curved text, and collision-aware sector labeling.