Timeline
Source: Data Visualisation Catalogue - Timeline
Why This Belongs In The Compiler Gallery
Timelines are the most direct chart unlocked by first-class temporal scales. The marks are simple point, line, and text glyphs; the important compiler capability is date parsing, temporal domain resolution, and generated date-axis guides.
Data Contract
Each raw row represents one dated event.
| Field | Type | Purpose |
|---|---|---|
date | temporal | Event position on the timeline. |
label | text | Event label. |
tooltip | text, optional | Hover label for the event point. |
Expected Visual
A faithful timeline should show dated events along one continuous time axis. Labels and stems identify events without implying a quantitative y value.
Compiler Mapping
| Compiler part | Mapping |
|---|---|
| Data source | events table. |
| Transform | None for the first pass; temporal position is scale-owned. |
| Scales | x: time(date). |
| Layers | line rail/stems, point events, and text event labels. |
| Guides | Generated x-axis and x-grid with date formatting. |
Faithfulness Notes
The current gallery version proves the temporal scale and date guide path. The next fidelity step is a timeline/event layout transform for alternating labels, collision avoidance, spans, and milestone symbols.