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. These tabs come from Graflume's public catalog. Every mode owns runnable data, options, a Quick API, and source-backed feature claims.
Chart family · Default families
Compare categorical proportions through the area of space-filling tiles.
treemap()graflumetreemapChart-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"
}
}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.