ARIA · table fallbackAccessibility
Canvas ARIA metadata is paired with a text summary and table fallback.
Graflume · Alpha
Compare categorical proportions through the area of space-filling tiles.
Chart family · Default families
Compare categorical proportions through the area of space-filling tiles.
treemap()graflumetreemapBasic implementation
Start with only the required data and family encoding. Expand the code to run the same example.
Compare categorical proportions through the area of space-filling tiles.
StatusLoading
minimal-implementationLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"title": {
"subtitle": "Tree map uses runnable data and options to demonstrate nested icicle.",
"text": "Hierarchy"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"title": {
"subtitle": "Tree map uses runnable data and options to demonstrate nested icicle.",
"text": "Hierarchy"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tooltip",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tooltip",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"theme": "graflume-light",
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"theme": "graflume-light",
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Explain the visual meaning of layers, categories, or continuous values.
StatusLoading
legendlegend · explicit · 1 channelsLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"height": 620,
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Value"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Hierarchy · Legend",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"height": 620,
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Value"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Hierarchy · Legend",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Emphasize a representative datum or spatial position to guide inspection.
StatusLoading
highlighthighlights[] · datum · idLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "id",
"type": "datum",
"value": "Spatial charts"
}
}
],
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "id",
"type": "datum",
"value": "Spatial charts"
}
}
],
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Show an explanatory callout with automatic collision avoidance and multilingual wrapping.
StatusLoading
calloutannotations[] · datum · id · callout · placement:autoLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "id",
"type": "datum",
"value": "Spatial charts"
},
"text": "Point and range highlights · Spatial charts"
}
],
"axes": {
"x": false,
"y": false
},
"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": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#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": "id",
"type": "datum",
"value": "Spatial charts"
},
"text": "Point and range highlights · Spatial charts"
}
],
"axes": {
"x": false,
"y": false
},
"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": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "id",
"mode": "multiple",
"toggle": true
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "id",
"mode": "multiple",
"toggle": true
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"axes": {
"x": false,
"y": false
},
"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": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"axes": {
"x": false,
"y": false
},
"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": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy · Accessibility example"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#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": "Hierarchy · Accessibility example"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
Organization chart uses runnable data and options to demonstrate breadcrumbs and search.
StatusLoading
orgbreadcrumbs and searchLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Organization chart uses runnable data and options to demonstrate breadcrumbs and search.",
"text": "Hierarchy"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.org('#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": "Hierarchy example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Organization chart uses runnable data and options to demonstrate breadcrumbs and search.",
"text": "Hierarchy"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Tree map uses runnable data and options to demonstrate nested icicle.
StatusLoading
treemapnested icicleLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy · Tree map example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tree map",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Tree map uses runnable data and options to demonstrate nested icicle.",
"text": "Hierarchy · Tree map"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#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": "Hierarchy · Tree map example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tree map",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Tree map uses runnable data and options to demonstrate nested icicle.",
"text": "Hierarchy · Tree map"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Icicle chart uses runnable data and options to demonstrate tree and organization.
StatusLoading
icicletree and organizationLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy · Icicle chart example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Icicle chart",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
},
"options": {
"mode": "icicle"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Icicle chart uses runnable data and options to demonstrate tree and organization.",
"text": "Hierarchy · Icicle chart"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.icicle('#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": "Hierarchy · Icicle chart example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Icicle chart",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
},
"options": {
"mode": "icicle"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Icicle chart uses runnable data and options to demonstrate tree and organization.",
"text": "Hierarchy · Icicle chart"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Tree chart uses runnable data and options to demonstrate tree.
StatusLoading
treeLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy · Tree chart example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tree chart",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Tree chart uses runnable data and options to demonstrate tree.",
"text": "Hierarchy · Tree chart"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.tree('#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": "Hierarchy · Tree chart example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tree chart",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Tree chart uses runnable data and options to demonstrate tree.",
"text": "Hierarchy · Tree chart"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Sunburst chart uses runnable data and options to demonstrate circle pack.
StatusLoading
sunburstcircle packLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy · Sunburst chart example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Sunburst chart",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Sunburst chart uses runnable data and options to demonstrate circle pack.",
"text": "Hierarchy · Sunburst chart"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.sunburst('#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": "Hierarchy · Sunburst chart example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Sunburst chart",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Sunburst chart uses runnable data and options to demonstrate circle pack.",
"text": "Hierarchy · Sunburst chart"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Organization network uses runnable data and options to demonstrate dendrogram and radial tree.
StatusLoading
organization-networkdendrogram and radial treeLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy · Organization network example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Organization network",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Organization network uses runnable data and options to demonstrate dendrogram and radial tree.",
"text": "Hierarchy · Organization network"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.organizationNetwork('#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": "Hierarchy · Organization network example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Organization network",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Organization network uses runnable data and options to demonstrate dendrogram and radial tree.",
"text": "Hierarchy · Organization network"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
}Tree graph uses runnable data and options to demonstrate collapse/re-root/zoom.
StatusLoading
tree-graphcollapse/re-root/zoomLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
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": "Hierarchy · Tree graph example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tree graph",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Tree graph uses runnable data and options to demonstrate collapse/re-root/zoom.",
"text": "Hierarchy · Tree graph"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treeGraph('#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": "Hierarchy · Tree graph example"
},
"axes": {
"x": false,
"y": false
},
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · Tree graph",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Tree graph uses runnable data and options to demonstrate collapse/re-root/zoom.",
"text": "Hierarchy · Tree graph"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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-largezerobudget:marks<=6Loading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 1e+12 | — |
| Visualization | 1 | Statground |
| Data products | 1e-09 | Statground |
| Documentation | 0 | Statground |
| Canvas charts | 0 | Visualization |
| Spatial charts | 0 | Visualization |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 1000000000000
},
{
"id": "Visualization",
"parent": "Statground",
"value": 1
},
{
"id": "Data products",
"parent": "Statground",
"value": 1e-9
},
{
"id": "Documentation",
"parent": "Statground",
"value": 0
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 0
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 0
}
];
const options = {
"accessibility": {
"description": "The Statground portfolio from platform areas down to concrete products. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Hierarchy"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Hierarchy"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"accessibility": {
"description": "The Statground portfolio from platform areas down to concrete products. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Hierarchy"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Hierarchy"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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-structuresparseout-of-orderdeep-hierarchybudget:marks<=6Loading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Data products | 34 | Statground |
| Statground | 100 | — |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Visualization | 46 | Statground |
Browser API
const data = [
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
}
];
const options = {
"accessibility": {
"description": "The Statground portfolio from platform areas down to concrete products. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Hierarchy · Sparse and irregular structure"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Hierarchy · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"accessibility": {
"description": "The Statground portfolio from platform areas down to concrete products. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Hierarchy · Sparse and irregular structure"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Hierarchy · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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 100,000 logical nodes and bounds rendered bar marks at 5,000.
StatusLoading
high-row-cardinalityall-input-rows-generatedall-input-rows-processeddeterministic-generationbounded-renderinginput:100000zoom-pan-resetbudget:bar-marks<=5000legend · explicit · 1 channelshighlights[] · datum · idannotations[] · datum · id · callout · placement:autoLoading
Browser API
const recipe = {
"cardinality": {
"axes": {},
"sourceRows": 100000,
"unit": "nodes"
},
"expectedInvariants": [
"finite-json",
"stable-unique-node-id",
"single-rooted-forest",
"weight-nonnegative"
],
"id": "hierarchy-nodes",
"initialView": {
"kind": "domain",
"zoom": 1
},
"outputBudget": {
"maximum": 5000,
"resource": "bar-marks"
},
"parameters": {
"explicitPerformance": true,
"family": "hierarchy",
"nullableFields": [],
"positiveFields": [],
"scenario": "volume",
"topology": "wide-star",
"valueFields": [
"value"
],
"valuePolicy": "descending-nonnegative"
},
"preview": {
"maximumRows": 12,
"method": "hierarchy-focus"
},
"reduction": {
"method": "hierarchy-level-of-detail",
"stage": "level-of-detail"
},
"seed": 3815555752,
"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": "Hierarchy · 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": "id",
"type": "datum",
"value": "horizon-apac-harbor-alerts"
},
"text": "Point and range highlights · horizon-apac-harbor-alerts"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"environment": {
"rowCount": 100000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "id",
"type": "datum",
"value": "horizon-apac-harbor-alerts"
}
}
],
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · High data volume",
"trigger": "mark"
}
},
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Value"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Hierarchy · High data volume",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"performance": "ultra",
"theme": "graflume-light",
"title": {
"subtitle": "The Statground portfolio from platform areas down to concrete products · 100,000 logical rows, screen-aware detail",
"text": "Hierarchy · High data volume"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#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": "Hierarchy · 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": "id",
"type": "datum",
"value": "horizon-apac-harbor-alerts"
},
"text": "Point and range highlights · horizon-apac-harbor-alerts"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"environment": {
"rowCount": 100000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "id",
"type": "datum",
"value": "horizon-apac-harbor-alerts"
}
}
],
"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": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy · High data volume",
"trigger": "mark"
}
},
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Value"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Hierarchy · High data volume",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"performance": "ultra",
"theme": "graflume-light",
"title": {
"subtitle": "The Statground portfolio from platform areas down to concrete products · 100,000 logical rows, screen-aware detail",
"text": "Hierarchy · High data volume"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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 · explicit · 1 channelshighlights[] · datum · idannotations[] · datum · id · callout · placement:autoselection · multiple · toggleLoading
Row data and zero-copy TypedArray columns share one data contract.
idordinal | valuequantitative | parentordinal |
|---|---|---|
| Statground | 100 | — |
| Visualization | 46 | Statground |
| Data products | 34 | Statground |
| Documentation | 20 | Statground |
| Canvas charts | 28 | Visualization |
| Spatial charts | 18 | Visualization |
| Catalog | 14 | Data products |
| Workbench | 12 | Data products |
| Pipelines | 8 | Data products |
| Guides | 12 | Documentation |
| Examples | 8 | Documentation |
Browser API
const data = [
{
"id": "Statground",
"parent": "",
"value": 100
},
{
"id": "Visualization",
"parent": "Statground",
"value": 46
},
{
"id": "Data products",
"parent": "Statground",
"value": 34
},
{
"id": "Documentation",
"parent": "Statground",
"value": 20
},
{
"id": "Canvas charts",
"parent": "Visualization",
"value": 28
},
{
"id": "Spatial charts",
"parent": "Visualization",
"value": 18
},
{
"id": "Catalog",
"parent": "Data products",
"value": 14
},
{
"id": "Workbench",
"parent": "Data products",
"value": 12
},
{
"id": "Pipelines",
"parent": "Data products",
"value": 8
},
{
"id": "Guides",
"parent": "Documentation",
"value": 12
},
{
"id": "Examples",
"parent": "Documentation",
"value": 8
}
];
const options = {
"accessibility": {
"description": "The Statground portfolio from platform areas down to concrete products. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Tree map: The Statground portfolio from platform areas down to concrete products"
},
"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": "id",
"type": "datum",
"value": "Spatial charts"
},
"text": "Point and range highlights · Spatial charts"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "id",
"type": "datum",
"value": "Spatial charts"
}
}
],
"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": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "id",
"mode": "multiple",
"toggle": true
},
"tooltip": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy",
"trigger": "mark"
}
},
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Value"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Hierarchy",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "The Statground portfolio from platform areas down to concrete products",
"text": "Tree map"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"type": "quantitative"
}
};
Graflume.treemap('#chart', data, options);Portable schema
{
"accessibility": {
"description": "The Statground portfolio from platform areas down to concrete products. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Tree map: The Statground portfolio from platform areas down to concrete products"
},
"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": "id",
"type": "datum",
"value": "Spatial charts"
},
"text": "Point and range highlights · Spatial charts"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "id",
"type": "datum",
"value": "Spatial charts"
}
}
],
"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": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"selection": {
"ariaLabel": "Interactive selection",
"clearOnBackground": true,
"clearOnEscape": true,
"highlight": {
"padding": 5
},
"key": "id",
"mode": "multiple",
"toggle": true
},
"tooltip": {
"fields": [
{
"field": "id",
"format": "auto",
"label": "Id"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "parent",
"format": "auto",
"label": "Parent"
}
],
"title": "Hierarchy",
"trigger": "mark"
}
},
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Value"
}
],
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Hierarchy",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"parent": "parent"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "The Statground portfolio from platform areas down to concrete products",
"text": "Tree map"
},
"width": "container",
"x": {
"field": "id",
"title": "Portfolio node",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Relative investment",
"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.
7 modes · 4 compatibility identifiers
| ID | Name | Quick API | mode | mark | renderer |
|---|---|---|---|---|---|
org | Organization chart | org() | organization | org | canvas |
treemap | Tree map | treemap() | treemap | treemap | canvas |
icicle | Icicle chart | icicle() | icicle | treemap | canvas |
tree | Tree chart | tree() | tree | tree | canvas |
sunburst | Sunburst chart | sunburst() | sunburst | sunburst | canvas |
organization-network | Organization network | organizationNetwork() | organization-network | org | canvas |
tree-graph | Tree graph | treeGraph() | tree-graph | tree | canvas |
| Identifier | Canonical mode ID |
|---|---|
organization | organization-network |
sunburst | sunburst |
treegraph | tree-graph |
treemap | treemap |
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.