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

Calendar

Source: Data Visualisation Catalogue - Calendar

Why This Belongs In The Compiler Gallery

Calendar charts are the first date-layout chart in this gallery that is not just a time axis. They prove the compiler can turn raw dated rows into a calendar-aware grid before normal rect, text, and color-scale rendering happens.

Data Contract

Each raw row is one dated observation.

FieldTypePurpose
datetemporalRaw day to place in the month grid.
valuequantitativeEncoded cell color.
dayordinal, derivedDay-of-month label.
weekdayordinal, derivedColumn index.
weekordinal, derivedRow index.
x, y, width, heightquantitative, derivedCell geometry.

Expected Visual

A faithful first-pass calendar should render a month grid with weekday columns, week rows, one cell per date, and a color ramp for the daily value.

Compiler Mapping

Compiler partMapping
Data sourcedaily-activity raw rows and derived calendar-cells.
Transformlayout with layoutKind: "calendarMonth" computes weekday/week positions and cell bounds.
Scalescolor: sequential(value).
LayersContext frame, weekday labels, day cell rects, day-number text.
GuidesGenerated stepped color legend.

Faithfulness Notes

The current transform handles a single month grid. Remaining calendar work includes multi-month/year layouts, week-start policies, blank-day cells, richer date labels, and label collision policies for very small cells.