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

Gantt Chart

Source: Data Visualisation Catalogue - Gantt Chart

Why This Belongs In The Compiler Gallery

The catalogue describes Gantt charts as timelines of tasks or activities with start and end positions. This chart now exercises the compiler's temporal interval path: raw date fields compile into normalized intervals, then a time scale and generated date axis render the shared schedule.

Data Contract

Each raw row represents one task or activity interval.

FieldTypePurpose
taskcategoricalTask label shown on the categorical axis.
phasecategorical, optionalHigher-level grouping or lane.
startDatetemporalRaw start date.
endDatetemporalRaw end date.
statuscategorical, optionalColor grouping.
starttemporal, derivedNormalized interval start date.
endtemporal, derivedNormalized interval end date.
durationquantitative, derivedInterval length in days.

Expected Visual

The faithful catalogue version should show horizontal bars positioned on a shared timeline. Bar length encodes duration, vertical position identifies the task, and color may encode status or phase.

ElementExpected treatment
Task barsRects using start and end bounds on a shared x scale.
Task labelsBand-axis labels keyed by task.
TimelineContinuous or temporal x axis with gridlines.
MilestonesOptional guide lines or markers on the same x scale.
ColorOptional categorical encoding for phase or status.

Compiler Mapping

Compiler partMapping
Data sourcetasks raw table and derived intervals table.
Transforminterval to compute start, end, duration, center, tooltip, and duration label.
Scalesx: time, y: band, color: ordinal.
Layersrect interval bars, line milestone/grid guides, text duration labels.
InteractionHover should expose task, start, end, duration, status, and source row.

Faithfulness Notes

The current gallery implementation now uses real date fields and generated date ticks. Remaining Gantt-specific work is dependency links, milestone symbols, richer working-day/session calendars, and collision-aware labels.