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

Tree Diagram

Source: Data Visualisation Catalogue - Tree Diagram

Why This Belongs In The Compiler Gallery

Tree diagrams verify the compiler can work from relational parent-child data instead of flat metric tables. The chart also exercises generated link paths, not only positioned point marks.

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 hierarchy values.
aggregateValue, depth, childCountderivedHierarchy normalization output.
x, y, rquantitative, derivedNode layout geometry.
pathDtext, derivedGenerated parent-child link path.

Compiler Mapping

Compiler partMapping
Data sourceRaw tree-rows, normalized hierarchy, derived tree-nodes, and derived tree-links.
Transformhierarchy normalizes parent-child rows; layout with treeNodes and treeLinks derives node/link geometry.
ScalesOrdinal depth color.
LayersDirect path links, point nodes, and text labels.

Faithfulness Notes

The first pass uses a tidy left-to-right tree with cubic link paths. It does not yet support radial trees, collapsible branches, or advanced node overlap/collision policies.