Graflume · Alpha
Chord · Edge-case application
Compare weighted relationships among categories with circular ribbons. Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.
Chart family · Advanced families
Chord
Compare weighted relationships among categories with circular ribbons.
- Quick API
chord()- Browser snapshot
graflume/complete- mark
chord- Presets
- 2
Edge cases
Numeric range, irregular structure, and data volume
Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.
Wide numeric range
Mix zero, very small finite values, and very large finite values to verify automatic domains, precision, and stable geometry. NaN and Infinity remain intentionally invalid. It applies 2 data-integrity rules that preserve finite values and axis domains.
StatusLoading
extreme-rangeextreme-smallextreme-largezerobudget:marks<=6
Loading
Wide numeric range · Row data
Row data and zero-copy TypedArray columns share one data contract.
sourceordinal | valuequantitative | targetordinal |
|---|---|---|
| Collected | 1e-09 | Validated |
| Collected | 0 | Review queue |
| Validated | 1e+12 | Aggregated |
| Validated | 1 | Exploration |
| Aggregated | 1e+06 | Reports |
| Aggregated | 1e-06 | Alerts |
Browser API · Portable schema
Browser API
Graflume.chord()
const data = [
{
"source": "Collected",
"target": "Validated",
"value": 1e-9
},
{
"source": "Collected",
"target": "Review queue",
"value": 0
},
{
"source": "Validated",
"target": "Aggregated",
"value": 1000000000000
},
{
"source": "Validated",
"target": "Exploration",
"value": 1
},
{
"source": "Aggregated",
"target": "Reports",
"value": 1000000
},
{
"source": "Aggregated",
"target": "Alerts",
"value": 0.000001
}
];
const options = {
"accessibility": {
"description": "Cross-team hand-offs make reciprocal movement and concentration visible. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Chord"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"target": "target",
"value": "value"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Chord"
},
"width": "container",
"x": {
"field": "source",
"title": "Team",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Hand-offs",
"type": "quantitative"
}
};
Graflume.chord('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "Cross-team hand-offs make reciprocal movement and concentration visible. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Chord"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"target": "target",
"value": "value"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Chord"
},
"width": "container",
"x": {
"field": "source",
"title": "Team",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Hand-offs",
"type": "quantitative"
}
}Sparse and irregular structure
Exercise only duplicate, missing, sparse, or out-of-order structures whose meaning is defined for this family. Broken references and malformed tuples are never disguised as successful examples. It applies 3 structural rules that preserve the meaning of missing, duplicate, and ordered values.
StatusLoading
irregular-structureduplicate-edgeself-loopsparsebudget:marks<=7
Loading
Sparse and irregular structure · Row data
Row data and zero-copy TypedArray columns share one data contract.
sourceordinal | valuequantitative | targetordinal |
|---|---|---|
| Collected | 86 | Validated |
| Collected | 14 | Review queue |
| Collected | 86 | Validated |
| Validated | 58 | Aggregated |
| Validated | 28 | Exploration |
| Aggregated | 36 | Reports |
| Aggregated | 22 | Alerts |
Browser API · Portable schema
Browser API
Graflume.chord()
const data = [
{
"source": "Collected",
"target": "Validated",
"value": 86
},
{
"source": "Collected",
"target": "Review queue",
"value": 14
},
{
"source": "Collected",
"target": "Validated",
"value": 86
},
{
"source": "Validated",
"target": "Aggregated",
"value": 58
},
{
"source": "Validated",
"target": "Exploration",
"value": 28
},
{
"source": "Aggregated",
"target": "Reports",
"value": 36
},
{
"source": "Aggregated",
"target": "Alerts",
"value": 22
}
];
const options = {
"accessibility": {
"description": "Cross-team hand-offs make reciprocal movement and concentration visible. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Chord · Sparse and irregular structure"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"target": "target",
"value": "value"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Chord · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "source",
"title": "Team",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Hand-offs",
"type": "quantitative"
}
};
Graflume.chord('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "Cross-team hand-offs make reciprocal movement and concentration visible. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Chord · Sparse and irregular structure"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"locale": "en",
"mark": {
"fields": {
"target": "target",
"value": "value"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Chord · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "source",
"title": "Team",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Hand-offs",
"type": "quantitative"
}
}High data volume
Materialize a deterministic compact recipe only when this tab opens. Graflume's performance profile bounds mark count, hit testing, and animation work for the input size. It applies 6 high-volume rules for deterministic generation and bounded output. This family materializes 60,000 logical edges and bounds rendered line points at 8,000.
StatusLoading
high-row-cardinalityall-input-rows-generatedall-input-rows-processeddeterministic-generationbounded-renderinginput:60000zoom-pan-resetbudget:line-points<=8000
- Legend:
legend · categories · source - Point and range highlights:
highlights[] · datum · target - Custom callouts:
annotations[] · datum · target · callout · placement:auto
Loading
Browser API · Portable schema
Browser API
Graflume.chord()
const recipe = {
"cardinality": {
"axes": {
"categoryCount": 500
},
"sourceRows": 60000,
"unit": "edges"
},
"expectedInvariants": [
"finite-json",
"edge-weight-nonnegative"
],
"id": "relationship-edges",
"initialView": {
"kind": "domain",
"zoom": 1
},
"outputBudget": {
"maximum": 8000,
"resource": "line-points"
},
"parameters": {
"categoryCount": 500,
"explicitPerformance": true,
"family": "chord",
"nullableFields": [],
"positiveFields": [],
"scenario": "volume",
"valueFields": [
"value"
],
"valuePolicy": "nonnegative"
},
"preview": {
"maximumRows": 12,
"method": "top-groups"
},
"reduction": {
"method": "community-edge-aggregation",
"stage": "pre-aggregate"
},
"seed": 1039327671,
"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": "Chord · 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": "target",
"type": "datum",
"value": "Collaboration"
},
"text": "Point and range highlights · Modeling"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"environment": {
"rowCount": 60000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "target",
"type": "datum",
"value": "Collaboration"
}
}
],
"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": "node",
"format": "auto",
"label": "Node"
},
{
"field": "total",
"format": "number",
"label": "Total"
},
{
"field": "source",
"format": "auto",
"label": "Source"
},
{
"field": "target",
"format": "auto",
"label": "Target"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Chord · High data volume",
"trigger": "mark"
}
},
"legend": {
"field": "source",
"interactive": false,
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "categories",
"orientation": "horizontal",
"position": "bottom",
"title": "Source",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"target": "target",
"value": "value"
}
},
"padding": {
"top": 52
},
"performance": "ultra",
"theme": "graflume-light",
"title": {
"subtitle": "Cross-team hand-offs make reciprocal movement and concentration visible · 60,000 logical rows, screen-aware detail",
"text": "Chord · High data volume"
},
"width": "container",
"x": {
"field": "source",
"title": "Team",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Hand-offs",
"type": "quantitative"
}
};
Graflume.chord('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "Zoom and pan inspect the rendered surface without changing data axes or values. When playback controls are available, they move through real steps in the order each unique value first appears in the source data.",
"label": "Chord · 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": "target",
"type": "datum",
"value": "Collaboration"
},
"text": "Point and range highlights · Modeling"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"environment": {
"rowCount": 60000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "target",
"type": "datum",
"value": "Collaboration"
}
}
],
"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": "node",
"format": "auto",
"label": "Node"
},
{
"field": "total",
"format": "number",
"label": "Total"
},
{
"field": "source",
"format": "auto",
"label": "Source"
},
{
"field": "target",
"format": "auto",
"label": "Target"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Chord · High data volume",
"trigger": "mark"
}
},
"legend": {
"field": "source",
"interactive": false,
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "categories",
"orientation": "horizontal",
"position": "bottom",
"title": "Source",
"visible": true
},
"locale": "en",
"mark": {
"fields": {
"target": "target",
"value": "value"
}
},
"padding": {
"top": 52
},
"performance": "ultra",
"theme": "graflume-light",
"title": {
"subtitle": "Cross-team hand-offs make reciprocal movement and concentration visible · 60,000 logical rows, screen-aware detail",
"text": "Chord · High data volume"
},
"width": "container",
"x": {
"field": "source",
"title": "Team",
"type": "ordinal"
},
"y": {
"field": "value",
"title": "Hand-offs",
"type": "quantitative"
}
}