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

Open-high-low-close Chart

Source: Data Visualisation Catalogue - Open-high-low-close Chart

Why This Belongs In The Compiler Gallery

The OHLC chart proves the new financial interval transform is reusable beyond candle bodies. It consumes the same raw ordered price ticks and renders high-low stems with open and close ticks.

Data Contract

Each raw row is one ordered price observation inside a period.

FieldTypePurpose
datetemporalPeriod shown on the x axis.
sequenceordinal/quantitativeSort order within the session.
pricequantitativeRaw price observation.
openquantitative, derivedFirst ordered price in the session.
highquantitative, derivedMaximum session price.
lowquantitative, derivedMinimum session price.
closequantitative, derivedLast ordered price in the session.
directioncategorical, derivedGain, loss, or flat session.

Expected Visual

Each session is shown as a vertical high-low line. The open tick extends left from the stem and the close tick extends right.

Compiler Mapping

Compiler partMapping
Data sourceprice-ticks raw table and derived ohlc table.
TransformfinancialInterval with groupBy, value, and orderField options.
Scalesx: time(date), y: linear(price), color: ordinal(direction).
Layersline high-low stems, open ticks, and close ticks.
GuidesGenerated axes, gridlines, and direction legend.

Faithfulness Notes

The chart shares the candlestick transform contract and uses a temporal x scale. Remaining work is configurable tick orientation/width and richer stroke cap/join styling.