Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Radial Bar Chart
Radial-bar layout derives ring tracks and value arcs from raw category rows.
Data Sources
4
Fields
20
Scales
1
Layers
6
Glyphs
26
path 10 / text 11 / rect 5
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 channel progress
ChartSpec
{
"id": "catalogue.radial-bar",
"data": [
{
"id": "channel-progress",
"rows": 5
},
{
"id": "radial-bars",
"rows": 5
},
{
"id": "__guide.channel-legend",
"rows": 5
},
{
"id": "__guide.channel-legend.title",
"rows": 1
}
],
"transforms": [
{
"id": "radial-bar-layout",
"type": "layout",
"input": "channel-progress",
"output": "radial-bars",
"options": {
"end": 270,
"innerRadius": 42,
"labelField": "channel",
"layout": "plot",
"layoutKind": "radialBars",
"maxValue": 100,
"outerRadius": 154,
"paddingInner": 5,
"start": -90,
"value": "value"
}
}
],
"legends": [
{
"id": "channel-legend",
"scale": "color",
"kind": "color",
"title": "Channel"
}
],
"fields": [
"channel",
"value",
"pathD",
"trackPathD",
"innerRadius",
"outerRadius",
"endAngle",
"labelX",
"labelY",
"tooltip",
"category",
"startAngle",
"share",
"formatted",
"label",
"x",
"y",
"symbolX",
"symbolY",
"text"
],
"scales": [
{
"id": "color",
"type": "ordinal",
"domain": {
"source": "field",
"data": "radial-bars",
"field": "channel"
}
}
],
"layers": [
{
"id": "channel-legend-swatches",
"mark": "rect",
"role": "guide"
},
{
"id": "channel-legend-labels",
"mark": "text",
"role": "guide"
},
{
"id": "channel-legend-title",
"mark": "text",
"role": "guide"
},
{
"id": "bar-tracks",
"mark": "path",
"role": "context",
"path": {
"directD": true,
"areaBand": false,
"closedToY": false,
"curve": "linear"
}
},
{
"id": "radial-bars",
"mark": "path",
"role": "data",
"path": {
"directD": true,
"areaBand": false,
"closedToY": false,
"curve": "linear"
}
},
{
"id": "bar-values",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "catalogue.radial-bar.scene",
"scales": [
{
"id": "color",
"type": "ordinal",
"domain": [
"Search",
"Retail",
"Social",
"Email",
"Partner"
],
"range": [
"var(--colors-blue-9)",
"var(--colors-green-9)",
"var(--colors-amber-9)",
"var(--colors-purple-9)",
"var(--colors-red-9)"
]
}
],
"layers": [
{
"id": "bar-tracks",
"role": "context",
"zIndex": 0,
"glyphs": 5
},
{
"id": "radial-bars",
"role": "data",
"zIndex": 10,
"glyphs": 5
},
{
"id": "bar-values",
"role": "guide",
"zIndex": 20,
"glyphs": 5
},
{
"id": "channel-legend-swatches",
"role": "guide",
"zIndex": 30,
"glyphs": 5
},
{
"id": "channel-legend-labels",
"role": "guide",
"zIndex": 31,
"glyphs": 5
},
{
"id": "channel-legend-title",
"role": "guide",
"zIndex": 32,
"glyphs": 1
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
bar-tracks
radial-bars
bar-values
channel-legend-swatches
channel-legend-labels
channel-legend-title
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.