Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Arc Diagram
Arc-diagram layout derives node positions and curved links from raw edge rows.
Data Sources
5
Fields
17
Scales
1
Layers
6
Glyphs
30
path 7 / point 7 / rect 4 / text 12
Data Flow Diagram
Select a glyph to highlight its complete source path.
Scope
Roles
No matching flow nodes
Adjust search, scope, or role filters.
Available Data
Raw source-target flows
ChartSpec
{
"id": "catalogue.arc-diagram",
"data": [
{
"id": "flows",
"rows": 7
},
{
"id": "arc-nodes",
"rows": 7
},
{
"id": "arc-links",
"rows": 7
},
{
"id": "__guide.source-legend",
"rows": 4
},
{
"id": "__guide.source-legend.title",
"rows": 1
}
],
"transforms": [
{
"id": "arc-node-layout",
"type": "layout",
"input": "flows",
"output": "arc-nodes",
"options": {
"layout": "plot",
"layoutKind": "arcDiagramNodes",
"sourceField": "source",
"targetField": "target",
"value": "value"
}
},
{
"id": "arc-link-layout",
"type": "layout",
"input": "flows",
"output": "arc-links",
"options": {
"layout": "plot",
"layoutKind": "arcDiagramLinks",
"sourceField": "source",
"targetField": "target",
"value": "value"
}
}
],
"legends": [
{
"id": "source-legend",
"scale": "color",
"kind": "color",
"title": "Source"
}
],
"fields": [
"source",
"target",
"value",
"pathD",
"strokeWidth",
"tooltip",
"node",
"label",
"x",
"y",
"r",
"labelX",
"labelY",
"formatted",
"symbolX",
"symbolY",
"text"
],
"scales": [
{
"id": "color",
"type": "ordinal",
"domain": {
"source": "field",
"data": "arc-links",
"field": "source"
}
}
],
"layers": [
{
"id": "source-legend-swatches",
"mark": "rect",
"role": "guide"
},
{
"id": "source-legend-labels",
"mark": "text",
"role": "guide"
},
{
"id": "source-legend-title",
"mark": "text",
"role": "guide"
},
{
"id": "arc-links",
"mark": "path",
"role": "data",
"path": {
"directD": true,
"areaBand": false,
"closedToY": false,
"curve": "linear"
}
},
{
"id": "nodes",
"mark": "point",
"role": "data"
},
{
"id": "node-labels",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "catalogue.arc-diagram.scene",
"scales": [
{
"id": "color",
"type": "ordinal",
"domain": [
"Landing",
"Search",
"Product",
"Cart"
],
"range": [
"var(--colors-blue-9)",
"var(--colors-green-9)",
"var(--colors-amber-9)",
"var(--colors-purple-9)",
"var(--colors-red-9)"
]
}
],
"layers": [
{
"id": "arc-links",
"role": "data",
"zIndex": 10,
"glyphs": 7
},
{
"id": "nodes",
"role": "data",
"zIndex": 20,
"glyphs": 7
},
{
"id": "source-legend-swatches",
"role": "guide",
"zIndex": 30,
"glyphs": 4
},
{
"id": "node-labels",
"role": "guide",
"zIndex": 30,
"glyphs": 7
},
{
"id": "source-legend-labels",
"role": "guide",
"zIndex": 31,
"glyphs": 4
},
{
"id": "source-legend-title",
"role": "guide",
"zIndex": 32,
"glyphs": 1
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
arc-links
nodes
source-legend-swatches
node-labels
source-legend-labels
source-legend-title
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.