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

Error Bars

Source: Data Visualisation Catalogue - Error Bars

Why This Belongs In The Compiler Gallery

Error bars are a direct test of statistical transform ownership. The visible marks are simple line caps and point glyphs, but the compiler needs to derive group means and uncertainty intervals from raw observations instead of receiving precomputed lower/upper values.

Data Contract

Each raw row is one observation belonging to a group.

FieldTypePurpose
segmentcategoricalGroup on the x axis.
valuequantitativeRaw measured value.
meanquantitative, derivedGroup average.
lowerquantitative, derivedLower error interval bound.
upperquantitative, derivedUpper error interval bound.
errorquantitative, derivedInterval half-width.

Expected Visual

The chart shows one mean point per group with a vertical interval and horizontal caps. The first gallery version uses a 95 percent confidence-style interval from the new errorInterval transform.

Compiler Mapping

Compiler partMapping
Data sourceobservations raw table and derived error-intervals table.
TransformerrorInterval groups rows and computes mean, standard deviation, standard error, and interval bounds.
Scalesx: band(segment), y: linear(value).
Layersline stems/caps and point mean markers.
GuidesGenerated x/y axes and y gridlines.

Faithfulness Notes

The core statistical interval is compiler-owned. Remaining work is policy breadth: asymmetric intervals, externally supplied confidence bounds, and richer statistical labels.