ARIA · table fallbackAccessibility
Canvas ARIA metadata is paired with a text summary and table fallback.
Graflume · Alpha
Place important events and explanatory labels directly on a time series.
Chart family · Default families
Place important events and explanatory labels directly on a time series.
annotation()graflumeannotationBasic implementation
Start with only the required data and family encoding. Expand the code to run the same example.
Place important events and explanatory labels directly on a time series.
StatusLoading
minimal-implementationLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Common features
Use the tabs to compare header, tooltip, theme, legend, highlight, callout, selection, view controls, and accessibility one feature at a time. Hover over a data mark. On supported charts, move the pointer along the axis to see the nearest value. All exact values are available in the table below.
Add a chart title and supporting description inside the visualization.
StatusLoading
headerLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"title": {
"subtitle": "Annotation chart uses runnable data and options to demonstrate datum/layer/range/plot targets; runtime CRUD.",
"text": "Annotation"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"title": {
"subtitle": "Annotation chart uses runnable data and options to demonstrate datum/layer/range/plot targets; runtime CRUD.",
"text": "Annotation"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Reveal exact values from a mark or axis position. Authors can choose locale-aware date/time styles and a time zone with declarative options.
StatusLoading
tooltipLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Tooltip",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Tooltip",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Apply the current built-in theme from the selector and update every active example together.
StatusLoading
themeLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"theme": "graflume-light",
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"theme": "graflume-light",
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Explain the visual meaning of layers, categories, or continuous values.
StatusLoading
legendlegend · layers · one seriesLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Annotation · Legend",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Annotation · Legend",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Annotation · Legend",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Annotation · Legend",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Emphasize a representative datum or spatial position to guide inspection.
StatusLoading
highlighthighlights[] · datum · dateLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2026-07-01"
}
}
],
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2026-07-01"
}
}
],
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Show an explanatory callout with automatic collision avoidance and multilingual wrapping.
StatusLoading
calloutannotations[] · datum · date · callout · placement:autoLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"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": "date",
"type": "datum",
"value": "2026-07-01"
},
"text": "Point and range highlights · 2026-07-01"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"controls": {
"annotations": 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"
}
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"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": "date",
"type": "datum",
"value": "2026-07-01"
},
"text": "Point and range highlights · 2026-07-01"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"controls": {
"annotations": 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"
}
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Select and toggle data, then clear it from the background or Escape key.
StatusLoading
selectionselection · multiple · toggleLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "date",
"mode": "multiple",
"toggle": true
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "date",
"mode": "multiple",
"toggle": true
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Show or hide zoom, pan, reset, projection, fullscreen, and PNG export one menu at a time. Set controls: false to remove the entire toolbar.
StatusLoading
controlsLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"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
},
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"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
},
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Pair ARIA descriptions and keyboard guidance with a semantic data table.
StatusLoading
accessibilityLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
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": "Annotation · Accessibility example"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"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": "Annotation · Accessibility example"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Chart-specific features
These tabs come from Graflume's public catalog. Every mode owns runnable data, options, a Quick API, and source-backed feature claims.
Annotation chart uses runnable data and options to demonstrate datum/layer/range/plot targets; runtime CRUD.
StatusLoading
annotationdatum/layer/range/plot targetsruntime CRUDkeyboard authoringLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
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": "Annotation example"
},
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Annotation chart uses runnable data and options to demonstrate datum/layer/range/plot targets; runtime CRUD.",
"text": "Annotation"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"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": "Annotation example"
},
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Annotation chart uses runnable data and options to demonstrate datum/layer/range/plot targets; runtime CRUD.",
"text": "Annotation"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Annotated timeline uses runnable data and options to demonstrate callout connectors; visibility and serialization.
StatusLoading
annotated-timelinecallout connectorsvisibility and serializationdrag and resize handlesLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
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": "Annotation · Annotated timeline example"
},
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Annotated timeline",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Annotated timeline uses runnable data and options to demonstrate callout connectors; visibility and serialization.",
"text": "Annotation · Annotated timeline"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotatedTimeline('#chart', data, options);Portable schema
{
"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": "Annotation · Annotated timeline example"
},
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Annotated timeline",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Annotated timeline uses runnable data and options to demonstrate callout connectors; visibility and serialization.",
"text": "Annotation · Annotated timeline"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Event flags uses runnable data and options to demonstrate collision-aware placement; data-coordinate primitive registry.
StatusLoading
event-flagscollision-aware placementdata-coordinate primitive registryundo and redoLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | titleordinal |
|---|---|---|
| 2026-03-01 | 51 | Spring release |
| 2026-09-01 | 80 | Team plan launch |
Browser API
const data = [
{
"base": 39.78,
"category": "Mar",
"close": 51,
"conversion": 22.16,
"date": "2026-03-01",
"direction": 90,
"down": 74.6,
"high": 59,
"low": 45,
"lower": 44,
"magnitude": 11.8,
"minus": 36.8,
"open": 53,
"plus": 27.2,
"previous": 53,
"price": 77.85,
"radius": 21.22,
"resistance": 60,
"secondary": 46.2,
"series": "Before launch",
"signal": 51.82,
"speed": 23.4,
"support": 43,
"target": 59.2,
"title": "Spring release",
"up": 58.8,
"upper": 60,
"value": 51,
"volume": 1706,
"width": 4.6,
"z": 10.8
},
{
"base": 62.4,
"category": "Sep",
"close": 80,
"conversion": 25.21,
"date": "2026-09-01",
"direction": 276,
"down": 64.4,
"high": 88,
"low": 74,
"lower": 73,
"magnitude": 14.2,
"minus": 30.2,
"open": 82,
"plus": 36.8,
"previous": 82,
"price": 80.78,
"radius": 27.6,
"resistance": 89,
"secondary": 61.27,
"series": "After launch",
"signal": 80.68,
"speed": 39.6,
"support": 72,
"target": 86.8,
"title": "Team plan launch",
"up": 73.2,
"upper": 89,
"value": 80,
"volume": 2444,
"width": 2.8,
"z": 19.2
}
];
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": "Annotation · Event flags example"
},
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "title",
"format": "auto",
"label": "Title"
}
],
"title": "Annotation · Event flags",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"title": "title"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Event flags uses runnable data and options to demonstrate collision-aware placement; data-coordinate primitive registry.",
"text": "Annotation · Event flags"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.eventFlags('#chart', data, options);Portable schema
{
"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": "Annotation · Event flags example"
},
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "title",
"format": "auto",
"label": "Title"
}
],
"title": "Annotation · Event flags",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"title": "title"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Event flags uses runnable data and options to demonstrate collision-aware placement; data-coordinate primitive registry.",
"text": "Annotation · Event flags"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Play frames from a time field and stable key, with smooth enter, update, and exit transitions.
StatusLoading
playbacksmooth-transitionsLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 22 | Launch |
| 2026-02-01 | 31 | — |
| 2026-03-01 | 27 | Campaign |
| 2026-04-01 | 43 | — |
Browser API
const data = [
{
"annotation": "Launch",
"date": "2026-01-01",
"value": 22
},
{
"annotation": null,
"date": "2026-02-01",
"value": 31
},
{
"annotation": "Campaign",
"date": "2026-03-01",
"value": 27
},
{
"annotation": null,
"date": "2026-04-01",
"value": 43
}
];
const options = {
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"interaction": {
"controls": {
"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": true
},
"hover": true,
"playback": {
"autoplay": false,
"field": "date",
"filter": true,
"interval": 1000,
"key": "date",
"loop": false,
"mode": "cumulative",
"rate": 1,
"transition": {
"duration": 600,
"easing": "ease-in-out"
},
"windowSize": 1
},
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Playback and transitions",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"scale": {
"domain": [
"2026-01-01",
"2026-04-01"
]
},
"title": "date",
"type": "temporal"
},
"y": {
"field": "value",
"scale": {
"domain": [
0,
48
]
},
"title": "value",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"height": 620,
"interaction": {
"controls": {
"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": true
},
"hover": true,
"playback": {
"autoplay": false,
"field": "date",
"filter": true,
"interval": 1000,
"key": "date",
"loop": false,
"mode": "cumulative",
"rate": 1,
"transition": {
"duration": 600,
"easing": "ease-in-out"
},
"windowSize": 1
},
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Playback and transitions",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"width": "container",
"x": {
"field": "date",
"scale": {
"domain": [
"2026-01-01",
"2026-04-01"
]
},
"title": "date",
"type": "temporal"
},
"y": {
"field": "value",
"scale": {
"domain": [
0,
48
]
},
"title": "value",
"type": "quantitative"
}
}Edge cases
Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.
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-rangeextreme-smallextreme-largezeromixed-signbudget:marks<=6Loading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | -1e+12 | — |
| 2026-02-01 | -1e-09 | — |
| 2026-03-01 | 0 | Spring release |
| 2026-04-01 | 1e+12 | — |
| 2026-05-01 | 1e-09 | — |
| 2026-06-01 | 1e+06 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": -1000000000000
},
{
"annotation": null,
"date": "2026-02-01",
"value": -1e-9
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 0
},
{
"annotation": null,
"date": "2026-04-01",
"value": 1000000000000
},
{
"annotation": null,
"date": "2026-05-01",
"value": 1e-9
},
{
"annotation": null,
"date": "2026-06-01",
"value": 1000000
}
];
const options = {
"accessibility": {
"description": "Monthly active teams with the releases that changed adoption. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Annotation"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"title": {
"subtitle": "edge case · range",
"text": "Annotation"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"scale": {
"constant": 1,
"type": "symlog"
},
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"accessibility": {
"description": "Monthly active teams with the releases that changed adoption. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Annotation"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"title": {
"subtitle": "edge case · range",
"text": "Annotation"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"scale": {
"constant": 1,
"type": "symlog"
},
"title": "Active teams",
"type": "quantitative"
}
}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-structuresparseduplicate-keyout-of-ordernullbudget:marks<=7Loading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-03-01 | 51 | Spring release |
| 2026-01-01 | 48 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-02-01 | 53 | — |
Browser API
const data = [
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
}
];
const options = {
"accessibility": {
"description": "Monthly active teams with the releases that changed adoption. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Annotation · Sparse and irregular structure"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Sparse and irregular structure",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"title": {
"subtitle": "edge case · structure",
"text": "Annotation · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"accessibility": {
"description": "Monthly active teams with the releases that changed adoption. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Annotation · Sparse and irregular structure"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · Sparse and irregular structure",
"trigger": "axis"
}
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"title": {
"subtitle": "edge case · structure",
"text": "Annotation · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}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 line points at 30,000.
StatusLoading
high-row-cardinalityall-input-rows-generatedall-input-rows-processeddeterministic-generationbounded-renderinginput:60000zoom-pan-resetbudget:line-points<=30000legend · layers · one serieshighlights[] · datum · dateannotations[] · datum · date · callout · placement:autoLoading
Browser API
const recipe = {
"cardinality": {
"axes": {},
"sourceRows": 60000,
"unit": "rows"
},
"expectedInvariants": [
"finite-json",
"valid-temporal-key"
],
"id": "time-signal",
"initialView": {
"kind": "domain",
"zoom": 1
},
"outputBudget": {
"maximum": 30000,
"resource": "line-points"
},
"parameters": {
"family": "annotation",
"nullableFields": [
"annotation"
],
"positiveFields": [],
"scenario": "volume",
"valueFields": [
"value"
],
"valuePolicy": "signed"
},
"preview": {
"maximumRows": 12,
"method": "quantiles"
},
"reduction": {
"method": "time-bin-lttb",
"stage": "bin"
},
"seed": 1945708392,
"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": "Annotation · 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": "date",
"type": "datum",
"value": "2024-11-16"
},
"text": "Point and range highlights · 2024-11-16"
}
],
"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": "date",
"type": "datum",
"value": "2024-11-16"
}
}
],
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · High data volume",
"trigger": "axis"
}
},
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Annotation · High data volume",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Annotation · High data volume",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"performance": "auto",
"theme": "graflume-light",
"title": {
"subtitle": "Monthly active teams with the releases that changed adoption · 60,000 logical rows, screen-aware detail",
"text": "Annotation · High data volume"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"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": "Annotation · 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": "date",
"type": "datum",
"value": "2024-11-16"
},
"text": "Point and range highlights · 2024-11-16"
}
],
"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": "date",
"type": "datum",
"value": "2024-11-16"
}
}
],
"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": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation · High data volume",
"trigger": "axis"
}
},
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Annotation · High data volume",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Annotation · High data volume",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"performance": "auto",
"theme": "graflume-light",
"title": {
"subtitle": "Monthly active teams with the releases that changed adoption · 60,000 logical rows, screen-aware detail",
"text": "Annotation · High data volume"
},
"width": "container",
"x": {
"field": "date",
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Active teams",
"type": "quantitative"
}
}Extreme environments
Combine container size, input method, display capability, and user preference instead of guessing a device name. Compare mobile, watch, e-paper, monochrome, dot-matrix, and standards-based extreme environments on the same chart.
Reflow axes, legends, descriptions, and controls from the available container size.
960×540 · adaptive.profiles=responsive-fluidzoom-reflowshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialPrioritize 44px touch targets, tap tooltips, and collapsed secondary information on a narrow portrait screen.
390×844 · adaptive.profiles=mobile-touchzoom-reflowcoarse-touchvirtual-keyboardshape-rectangledisplay-colorinput-coarsemotion-fullrenderer-canvas-spatialKeep essential marks, values, and stepped controls on a tiny or round screen, with the remaining detail reflowed below.
184×224 · adaptive.profiles=smartwatchzoom-reflowreduced-effectscoarse-touchlow-resourcecutout-roundshape-rounddisplay-colorinput-coarsemotion-reducedrenderer-canvas-spatialviewport-tinyPrefer stable frames, strong contrast, and the data table for low-refresh e-paper displays.
758×1024 · adaptive.profiles=ebook-paperprint-pagedreduced-effectslow-resourceshape-pageddisplay-e-inkinput-keyboardmotion-staticrenderer-canvas-spatialUse strokes, markers, patterns, labels, and the table so color is never the only distinction.
640×400 · adaptive.profiles=monochromereduced-effectsshape-rectangledisplay-monochromeinput-finemotion-reducedrenderer-canvas-spatialReduce decoration and mark density while using strong strokes, integer labels, and stepped zoom on a low-resolution display.
320×240 · adaptive.profiles=dot-matrixzoom-reflowreduced-effectskeyboard-switchlow-resourceshape-rectangledisplay-gridinput-keyboardmotion-staticrenderer-canvas-spatialviewport-tinyReflow prose to one dimension at the 320 CSS px equivalent while retaining chart-local zoom and pan.
320×480 · adaptive.profiles=zoom-reflowzoom-reflowshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialKeep the chart and explanation in independent viewport segments without crossing the hinge.
720×640 · adaptive.profiles=foldable-dualfoldable-dualshape-dualdisplay-colorinput-finemotion-fullrenderer-canvas-spatialProvide strong focus indication and D-pad, Enter, and Escape operation on a hoverless distance display.
1920×1080 · adaptive.profiles=tv-remotetv-remoteshape-rectangledisplay-colorinput-remotemotion-fullrenderer-canvas-spatialPair a static chart with its description and table, hide controls, and avoid page breaks through the figure.
794×1123 · adaptive.profiles=print-pagedprint-pagedshape-pageddisplay-colorinput-finemotion-staticrenderer-canvas-spatialHonor system colors and borders while retaining patterns, markers, and text as redundant cues.
640×400 · adaptive.profiles=forced-colorsforced-colorsshape-rectangledisplay-high-contrastinput-finemotion-fullrenderer-canvas-spatialComplete transitions immediately and use opaque surfaces and deferred work to reduce motion and transparency load.
640×400 · adaptive.profiles=reduced-effectsreduced-effectsshape-rectangledisplay-colorinput-finemotion-reducedrenderer-canvas-spatialInspect values by tap without hover, keep targets at least 44px, and expose explicit zoom buttons.
390×844 · adaptive.profiles=coarse-touchcoarse-touchshape-rectangledisplay-colorinput-coarsemotion-fullrenderer-canvas-spatialReach every operation with Tab, arrows, Enter, Space, and Escape, with no drag-only action.
640×400 · adaptive.profiles=keyboard-switchkeyboard-switchshape-rectangledisplay-colorinput-keyboardmotion-fullrenderer-canvas-spatialPrefer progressive rendering, sampling, cancellable work, and a static fallback under constrained memory or connectivity.
640×400 · adaptive.profiles=low-resourcelow-resourceshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialFollow RTL logical flow for prose and tabs while keeping axes, code, and data identifiers in technical LTR order.
640×400 · adaptive.profiles=rtlrtlshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialReflow vertical prose while keeping the chart and technical surfaces in an independent horizontal panel.
640×400 · adaptive.profiles=vertical-writingvertical-writingshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialCap chart width instead of stretching indefinitely, using panelization and readable labels on ultrawide or projected surfaces.
1920×720 · adaptive.profiles=ultrawide-projectionultrawide-projectionshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialProvide short and long descriptions, a semantic table, and status so Canvas or color is never the sole information path.
640×400 · adaptive.profiles=screenreader-braillescreenreader-brailleshape-nonvisualdisplay-colorinput-nonvisualmotion-fullrenderer-canvas-spatialA verified static preview, description, and collapsible row-data table preserve the essential information when scripting is unavailable.
640×400 · adaptive.profiles=no-scriptno-scriptshape-nonvisualdisplay-colorinput-finemotion-staticrenderer-static-fallbackFall back safely to the ordinary 2D or WebGL panel when XR APIs are absent, duplicating depth cues in text and the table.
640×400 · adaptive.profiles=spatial-xrspatial-xrshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialInset titles, marks, and controls around safe areas and round display bounds so they are not clipped.
184×224 · adaptive.profiles=cutout-roundcutout-roundshape-rounddisplay-colorinput-finemotion-fullrenderer-canvas-spatialviewport-tinyReflow focus controls, the chart, and the active explanation when a virtual keyboard reduces the visual viewport.
390×560 · adaptive.profiles=virtual-keyboardvirtual-keyboardshape-rectangledisplay-colorinput-finemotion-fullrenderer-canvas-spatialChoose a profile above to preserve the same data and ChartSpec while reconfiguring the chart for display size, input method, display capability, and user preference.
StatusLoading
adaptivecapability-drivenno-user-agent-branchinglegend · layers · one serieshighlights[] · datum · dateannotations[] · datum · date · callout · placement:autoselection · multiple · toggleLoading
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative | annotationordinal |
|---|---|---|
| 2026-01-01 | 48 | — |
| 2026-02-01 | 53 | — |
| 2026-03-01 | 51 | Spring release |
| 2026-04-01 | 59 | — |
| 2026-05-01 | 66 | — |
| 2026-06-01 | 70 | — |
| 2026-07-01 | 76 | — |
| 2026-08-01 | 82 | — |
| 2026-09-01 | 80 | Team plan launch |
| 2026-10-01 | 89 | — |
| 2026-11-01 | 96 | — |
| 2026-12-01 | 104 | — |
Browser API
const data = [
{
"annotation": null,
"date": "2026-01-01",
"value": 48
},
{
"annotation": null,
"date": "2026-02-01",
"value": 53
},
{
"annotation": "Spring release",
"date": "2026-03-01",
"value": 51
},
{
"annotation": null,
"date": "2026-04-01",
"value": 59
},
{
"annotation": null,
"date": "2026-05-01",
"value": 66
},
{
"annotation": null,
"date": "2026-06-01",
"value": 70
},
{
"annotation": null,
"date": "2026-07-01",
"value": 76
},
{
"annotation": null,
"date": "2026-08-01",
"value": 82
},
{
"annotation": "Team plan launch",
"date": "2026-09-01",
"value": 80
},
{
"annotation": null,
"date": "2026-10-01",
"value": 89
},
{
"annotation": null,
"date": "2026-11-01",
"value": 96
},
{
"annotation": null,
"date": "2026-12-01",
"value": 104
}
];
const options = {
"accessibility": {
"description": "Monthly active teams with the releases that changed adoption. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Annotation chart: Monthly active teams with the releases that changed adoption"
},
"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": "date",
"type": "datum",
"value": "2026-07-01"
},
"text": "Point and range highlights · 2026-07-01"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"create": {
"adaptive": {
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2026-07-01"
}
}
],
"interaction": {
"controls": {
"annotations": true,
"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": true,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"playback": {
"autoplay": false,
"field": "date",
"filter": true,
"interval": 1000,
"key": "date",
"loop": false,
"mode": "cumulative",
"rate": 1,
"transition": {
"duration": 600,
"easing": "ease-in-out"
},
"windowSize": 1
},
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "date",
"mode": "multiple",
"toggle": true
},
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation",
"trigger": "axis"
}
},
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Annotation",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Annotation",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Monthly active teams with the releases that changed adoption",
"text": "Annotation chart"
},
"width": "container",
"x": {
"field": "date",
"scale": {
"domain": [
"2026-01-01",
"2026-04-01"
]
},
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"scale": {
"domain": [
0,
48
]
},
"title": "Active teams",
"type": "quantitative"
}
};
Graflume.annotation('#chart', data, options);Portable schema
{
"accessibility": {
"description": "Monthly active teams with the releases that changed adoption. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Annotation chart: Monthly active teams with the releases that changed adoption"
},
"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": "date",
"type": "datum",
"value": "2026-07-01"
},
"text": "Point and range highlights · 2026-07-01"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "medium",
"timeZone": "UTC",
"type": "date"
},
"labels": {
"orientation": "horizontal"
},
"position": "bottom",
"ticks": {
"count": 4,
"spacing": 8
}
},
"y": {
"format": {
"type": "integer"
}
}
},
"create": {
"adaptive": {
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2026-07-01"
}
}
],
"interaction": {
"controls": {
"annotations": true,
"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": true,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"playback": {
"autoplay": false,
"field": "date",
"filter": true,
"interval": 1000,
"key": "date",
"loop": false,
"mode": "cumulative",
"rate": 1,
"transition": {
"duration": 600,
"easing": "ease-in-out"
},
"windowSize": 1
},
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "date",
"mode": "multiple",
"toggle": true
},
"tooltip": {
"axis": "x",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "annotation",
"format": "auto",
"label": "Annotation"
}
],
"title": "Annotation",
"trigger": "axis"
}
},
"legend": {
"interactive": true,
"items": [
{
"id": "series",
"label": "Annotation",
"layerId": "layer-0"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Annotation",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"annotation": "annotation"
},
"point": true
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Monthly active teams with the releases that changed adoption",
"text": "Annotation chart"
},
"width": "container",
"x": {
"field": "date",
"scale": {
"domain": [
"2026-01-01",
"2026-04-01"
]
},
"title": "Month",
"type": "temporal"
},
"y": {
"field": "value",
"scale": {
"domain": [
0,
48
]
},
"title": "Active teams",
"type": "quantitative"
}
}Catalog
The source-controlled catalog maps callable modes in this family and compatibility identifiers to their canonical modes. This table contains executable entries only.
3 modes · 1 compatibility identifiers
| ID | Name | Quick API | mode | mark | renderer |
|---|---|---|---|---|---|
annotation | Annotation chart | annotation() | default | annotation | canvas |
annotated-timeline | Annotated timeline | annotatedTimeline() | timeline | annotation | canvas |
event-flags | Event flags | eventFlags() | event-flags | flags | canvas |
| Identifier | Canonical mode ID |
|---|---|
flags | event-flags |
Manual
ARIA · table fallbackCanvas ARIA metadata is paired with a text summary and table fallback.
standard · large · ultraStandard, large, and ultra profiles bound rendering work.