Graflume · Alpha
Timeline / Range · Edge-case application
Compare the start and end of tasks or events on one time axis. Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.
Chart family · Default families
Timeline / Range
Compare the start and end of tasks or events on one time axis.
- Quick API
timeline()- Browser snapshot
graflume- mark
timeline- Presets
- 3
Edge cases
Numeric range, irregular structure, and data volume
Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.
Wide numeric range
Mix zero, very small finite values, and very large finite values to verify automatic domains, precision, and stable geometry. NaN and Infinity remain intentionally invalid. It applies 2 data-integrity rules that preserve finite values and axis domains.
StatusLoading
extreme-rangetemporal-spanzero-durationdomain-boundarybudget:marks<=6
Loading
Wide numeric range · Row data
Row data and zero-copy TypedArray columns share one data contract.
starttemporal | categoryordinal | endtemporal |
|---|---|---|
| 1900-01-01 | Research | 1900-01-01 |
| 2026-01-05 | Data design | 2026-01-16 |
| 2026-01-12 | Prototype | 2026-01-25 |
| 2026-01-19 | Accessibility | 2026-02-02 |
| 2026-01-27 | Validation | 2026-02-10 |
| 2099-12-01 | Release | 2100-01-01 |
Browser API · Portable schema
Browser API
Graflume.timeline()
const data = [
{
"category": "Research",
"end": "1900-01-01",
"start": "1900-01-01"
},
{
"category": "Data design",
"end": "2026-01-16",
"start": "2026-01-05"
},
{
"category": "Prototype",
"end": "2026-01-25",
"start": "2026-01-12"
},
{
"category": "Accessibility",
"end": "2026-02-02",
"start": "2026-01-19"
},
{
"category": "Validation",
"end": "2026-02-10",
"start": "2026-01-27"
},
{
"category": "Release",
"end": "2100-01-01",
"start": "2099-12-01"
}
];
const options = {
"accessibility": {
"description": "A release plan with overlapping work, progress, and a clear finish. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Timeline / Range"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "start",
"format": "date",
"label": "Start",
"timeZone": "UTC"
},
{
"field": "category",
"format": "auto",
"label": "Category"
},
{
"dateStyle": "long",
"field": "end",
"format": "date",
"label": "End",
"timeZone": "UTC"
}
],
"title": "Timeline / Range",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"end": "end"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Timeline / Range"
},
"width": "container",
"x": {
"field": "start",
"title": "Schedule",
"type": "temporal"
},
"y": {
"field": "category",
"title": "Workstream",
"type": "ordinal"
}
};
Graflume.timeline('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "A release plan with overlapping work, progress, and a clear finish. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Timeline / Range"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "start",
"format": "date",
"label": "Start",
"timeZone": "UTC"
},
{
"field": "category",
"format": "auto",
"label": "Category"
},
{
"dateStyle": "long",
"field": "end",
"format": "date",
"label": "End",
"timeZone": "UTC"
}
],
"title": "Timeline / Range",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"end": "end"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Timeline / Range"
},
"width": "container",
"x": {
"field": "start",
"title": "Schedule",
"type": "temporal"
},
"y": {
"field": "category",
"title": "Workstream",
"type": "ordinal"
}
}Sparse and irregular structure
Exercise only duplicate, missing, sparse, or out-of-order structures whose meaning is defined for this family. Broken references and malformed tuples are never disguised as successful examples. It applies 3 structural rules that preserve the meaning of missing, duplicate, and ordered values.
StatusLoading
irregular-structuresparseout-of-orderoverlapbudget:marks<=6
Loading
Sparse and irregular structure · Row data
Row data and zero-copy TypedArray columns share one data contract.
starttemporal | categoryordinal | endtemporal |
|---|---|---|
| 2026-01-10 | Prototype | 2026-01-10 |
| 2026-01-01 | Research | 2026-01-20 |
| 2026-01-19 | Accessibility | 2026-02-02 |
| 2026-01-27 | Validation | 2026-02-10 |
| 2026-02-09 | Release | 2026-02-14 |
| 2026-01-05 | Data design | 2026-01-16 |
Browser API · Portable schema
Browser API
Graflume.timeline()
const data = [
{
"category": "Prototype",
"end": "2026-01-10",
"start": "2026-01-10"
},
{
"category": "Research",
"end": "2026-01-20",
"start": "2026-01-01"
},
{
"category": "Accessibility",
"end": "2026-02-02",
"start": "2026-01-19"
},
{
"category": "Validation",
"end": "2026-02-10",
"start": "2026-01-27"
},
{
"category": "Release",
"end": "2026-02-14",
"start": "2026-02-09"
},
{
"category": "Data design",
"end": "2026-01-16",
"start": "2026-01-05"
}
];
const options = {
"accessibility": {
"description": "A release plan with overlapping work, progress, and a clear finish. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Timeline / Range · Sparse and irregular structure"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "start",
"format": "date",
"label": "Start",
"timeZone": "UTC"
},
{
"field": "category",
"format": "auto",
"label": "Category"
},
{
"dateStyle": "long",
"field": "end",
"format": "date",
"label": "End",
"timeZone": "UTC"
}
],
"title": "Timeline / Range · Sparse and irregular structure",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"end": "end"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Timeline / Range · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "start",
"title": "Schedule",
"type": "temporal"
},
"y": {
"field": "category",
"title": "Workstream",
"type": "ordinal"
}
};
Graflume.timeline('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "A release plan with overlapping work, progress, and a clear finish. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Timeline / Range · Sparse and irregular structure"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "start",
"format": "date",
"label": "Start",
"timeZone": "UTC"
},
{
"field": "category",
"format": "auto",
"label": "Category"
},
{
"dateStyle": "long",
"field": "end",
"format": "date",
"label": "End",
"timeZone": "UTC"
}
],
"title": "Timeline / Range · Sparse and irregular structure",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"end": "end"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Timeline / Range · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "start",
"title": "Schedule",
"type": "temporal"
},
"y": {
"field": "category",
"title": "Workstream",
"type": "ordinal"
}
}High data volume
Materialize a deterministic compact recipe only when this tab opens. Graflume's performance profile bounds mark count, hit testing, and animation work for the input size. It applies 6 high-volume rules for deterministic generation and bounded output. This family materializes 60,000 logical rows and bounds rendered bar marks at 20,000.
StatusLoading
high-row-cardinalityall-input-rows-generatedall-input-rows-processeddeterministic-generationbounded-renderinginput:60000zoom-pan-resetbudget:bar-marks<=20000
- Legend:
legend · layers · one series - Point and range highlights:
highlights[] · datum · category - Custom callouts:
annotations[] · datum · category · callout · placement:auto
Loading
Browser API · Portable schema
Browser API
Graflume.timeline()
const recipe = {
"cardinality": {
"axes": {},
"sourceRows": 60000,
"unit": "rows"
},
"expectedInvariants": [
"finite-json",
"stable-interval-id",
"start-not-after-end",
"progress-closed-0-100"
],
"id": "interval-sequence",
"initialView": {
"kind": "domain",
"zoom": 1
},
"outputBudget": {
"maximum": 20000,
"resource": "bar-marks"
},
"parameters": {
"family": "timeline",
"nullableFields": [],
"positiveFields": [],
"scenario": "volume",
"valueFields": [],
"valuePolicy": "temporal-bounds"
},
"preview": {
"maximumRows": 12,
"method": "quantiles"
},
"reduction": {
"method": "interval-window-sample",
"stage": "sample"
},
"seed": 1728815126,
"shape": "rows",
"version": 2
};
const { data, previewRows, plan } = Graflume.materializeDemoRecipe(recipe);
const options = {
"accessibility": {
"description": "Zoom and pan inspect the rendered surface without changing data axes or values. When playback controls are available, they move through real steps in the order each unique value first appears in the source data.",
"label": "Timeline / Range · High data volume"
},
"annotations": [
{
"connector": {
"visible": true
},
"detail": "Attach user-authored safe text to a datum, axis range, or normalized plot position.",
"id": "manual-callout",
"placement": "auto",
"style": {
"maxWidth": 220,
"padding": 8
},
"target": {
"field": "category",
"type": "datum",
"value": "Discover · Atlas migration · Public sector"
},
"text": "Point and range highlights · 2024-06-21"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"create": {
"adaptive": {
"environment": {
"rowCount": 60000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "category",
"type": "datum",
"value": "Discover · Atlas migration · Public sector"
}
}
],
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "Chart controls",
"enterFullscreen": "Enter fullscreen",
"exitFullscreen": "Exit fullscreen",
"exportPng": "Download PNG",
"hideAnnotations": "Hide callouts",
"loop": "Loop playback",
"nextFrame": "Next frame",
"pause": "Pause",
"play": "Play",
"previousFrame": "Previous frame",
"reset": "Reset view",
"seek": "Playback position",
"showAnnotations": "Show callouts",
"speed": "Playback speed",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "start",
"format": "date",
"label": "Start",
"timeZone": "UTC"
},
{
"field": "category",
"format": "auto",
"label": "Category"
},
{
"dateStyle": "long",
"field": "end",
"format": "date",
"label": "End",
"timeZone": "UTC"
}
],
"title": "Timeline / Range · High data volume",
"trigger": "axis"
}
},
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Timeline / Range · High data volume",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Timeline / Range · High data volume",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"end": "end"
}
},
"padding": {
"top": 52
},
"performance": "auto",
"theme": "graflume-light",
"title": {
"subtitle": "A release plan with overlapping work, progress, and a clear finish · 60,000 logical rows, screen-aware detail",
"text": "Timeline / Range · High data volume"
},
"width": "container",
"x": {
"field": "start",
"title": "Schedule",
"type": "temporal"
},
"y": {
"field": "category",
"title": "Workstream",
"type": "ordinal"
}
};
Graflume.timeline('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "Zoom and pan inspect the rendered surface without changing data axes or values. When playback controls are available, they move through real steps in the order each unique value first appears in the source data.",
"label": "Timeline / Range · High data volume"
},
"annotations": [
{
"connector": {
"visible": true
},
"detail": "Attach user-authored safe text to a datum, axis range, or normalized plot position.",
"id": "manual-callout",
"placement": "auto",
"style": {
"maxWidth": 220,
"padding": 8
},
"target": {
"field": "category",
"type": "datum",
"value": "Discover · Atlas migration · Public sector"
},
"text": "Point and range highlights · 2024-06-21"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"create": {
"adaptive": {
"environment": {
"rowCount": 60000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "category",
"type": "datum",
"value": "Discover · Atlas migration · Public sector"
}
}
],
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "Chart controls",
"enterFullscreen": "Enter fullscreen",
"exitFullscreen": "Exit fullscreen",
"exportPng": "Download PNG",
"hideAnnotations": "Hide callouts",
"loop": "Loop playback",
"nextFrame": "Next frame",
"pause": "Pause",
"play": "Play",
"previousFrame": "Previous frame",
"reset": "Reset view",
"seek": "Playback position",
"showAnnotations": "Show callouts",
"speed": "Playback speed",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "start",
"format": "date",
"label": "Start",
"timeZone": "UTC"
},
{
"field": "category",
"format": "auto",
"label": "Category"
},
{
"dateStyle": "long",
"field": "end",
"format": "date",
"label": "End",
"timeZone": "UTC"
}
],
"title": "Timeline / Range · High data volume",
"trigger": "axis"
}
},
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Timeline / Range · High data volume",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Timeline / Range · High data volume",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"end": "end"
}
},
"padding": {
"top": 52
},
"performance": "auto",
"theme": "graflume-light",
"title": {
"subtitle": "A release plan with overlapping work, progress, and a clear finish · 60,000 logical rows, screen-aware detail",
"text": "Timeline / Range · High data volume"
},
"width": "container",
"x": {
"field": "start",
"title": "Schedule",
"type": "temporal"
},
"y": {
"field": "category",
"title": "Workstream",
"type": "ordinal"
}
}