ARIA · table fallbackAccessibility
Canvas ARIA metadata is paired with a text summary and table fallback.
Graflume · Alpha
Compare flows between sources and targets through link width. 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 flows between sources and targets through link width.
sankey()graflumesankeyChart-specific features
These tabs come from Graflume's public catalog. Every mode owns runnable data, options, a Quick API, and source-backed feature claims.
Sankey diagram uses runnable data and options to demonstrate two-column weighted Sankey; interactive links.
StatusLoading
sankeytwo-column weighted Sankeyinteractive linksmulti-stage graph modelalignment/order/sort/iterationscycles and balance validationnode drag and path traversalLoading
Row data and zero-copy TypedArray columns share one data contract.
sourceordinal | valuequantitative | targetordinal |
|---|---|---|
| Collected | 86 | Validated |
| Collected | 14 | Review queue |
| Validated | 58 | Aggregated |
| Validated | 28 | Exploration |
| Aggregated | 36 | Reports |
| Aggregated | 22 | Alerts |
| Exploration | 18 | Models |
| Exploration | 10 | Exports |
Browser API
const data = [
{
"source": "Collected",
"target": "Validated",
"value": 86
},
{
"source": "Collected",
"target": "Review queue",
"value": 14
},
{
"source": "Validated",
"target": "Aggregated",
"value": 58
},
{
"source": "Validated",
"target": "Exploration",
"value": 28
},
{
"source": "Aggregated",
"target": "Reports",
"value": 36
},
{
"source": "Aggregated",
"target": "Alerts",
"value": 22
},
{
"source": "Exploration",
"target": "Models",
"value": 18
},
{
"source": "Exploration",
"target": "Exports",
"value": 10
}
];
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": "Flow 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": "source",
"format": "auto",
"label": "Source"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "target",
"format": "auto",
"label": "Target"
}
],
"title": "Flow",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"target": "target"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Sankey diagram uses runnable data and options to demonstrate two-column weighted Sankey; interactive links.",
"text": "Flow"
},
"width": "container",
"x": {
"field": "source",
"title": "Pipeline stage",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Records",
"type": "quantitative"
}
};
Graflume.sankey('#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": "Flow 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": "source",
"format": "auto",
"label": "Source"
},
{
"field": "value",
"format": "number",
"label": "Value"
},
{
"field": "target",
"format": "auto",
"label": "Target"
}
],
"title": "Flow",
"trigger": "mark"
}
},
"locale": "en",
"mark": {
"fields": {
"target": "target"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Sankey diagram uses runnable data and options to demonstrate two-column weighted Sankey; interactive links.",
"text": "Flow"
},
"width": "container",
"x": {
"field": "source",
"title": "Pipeline stage",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Records",
"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.
1 modes · 1 compatibility identifiers
| ID | Name | Quick API | mode | mark | renderer |
|---|---|---|---|---|---|
sankey | Sankey diagram | sankey() | default | sankey | canvas |
| Identifier | Canonical mode ID |
|---|---|
sankey | sankey |
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.