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

Dot Matrix Chart

Source: Data Visualisation Catalogue - Dot Matrix Chart

Why This Belongs In The Compiler Gallery

Dot matrix charts test repeated-symbol layout. The visible marks are ordinary point glyphs, but the compiler needs to expand raw category counts into repeated dots with stable row/column positions.

Data Contract

Each raw row is one category total.

FieldTypePurpose
categorycategoricalRow/group label.
valuequantitativeCount represented by repeated dots.
representedValuequantitative, derivedValue represented by an individual dot.
cx, cy, rquantitative, derivedDot geometry.

Expected Visual

Each category renders as a compact grid of same-size dots. The first gallery version uses one dot for up to five units, preserving source-row lineage on every generated dot.

Compiler Mapping

Compiler partMapping
Data sourcecategory-counts raw rows and derived matrix-dots.
Transformlayout with layoutKind: "dotMatrix" expands each count into repeated dot rows.
Scalescategory: band for labels, color: ordinal(category) for dots.
LayersCategory labels and point glyphs.

Faithfulness Notes

The core repeated-dot expansion is compiler-owned now. Remaining work is a richer symbol template system for pictograms/tally charts, plus exact remainder policies and responsive dot packing.