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

Span Chart

Source: Data Visualisation Catalogue - Span Chart

Why This Belongs In The Compiler Gallery

Span charts are a lightweight interval family. They reuse the compiler's interval transform and prove that start/end geometry can render as line ranges with endpoint symbols, not only Gantt-style rect bars.

Data Contract

Each raw row is one category with paired start and end values.

FieldTypePurpose
metriccategoricalRow label.
previousquantitativeRaw start value.
currentquantitativeRaw end value.
startquantitative, derivedNormalized lower interval value.
endquantitative, derivedNormalized upper interval value.
durationquantitative, derivedDifference between start and end.

Expected Visual

Each category has one horizontal span line from start to end, with endpoint markers to make the comparison scannable.

Compiler Mapping

Compiler partMapping
Data sourcemetric-ranges raw table and derived spans table.
Transforminterval computes start, end, duration, center, labels, and tooltip fields.
Scalesx: linear(value), y: band(metric).
Layersline span ranges plus point endpoint markers.
GuidesGenerated x/y axes and x gridlines.

Faithfulness Notes

The core span chart is compiler-owned through the existing interval transform. Time-based spans still need a true time scale and date-aware tick formatting.