Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Channel Revenue Small Multiples
Raw repeated-series values derive facet panels, point coordinates, and endpoint samples.
Data Sources
4
Fields
10
Scales
1
Layers
4
Glyphs
18
rect 3 / text 3 / path 3 / point 9
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 revenue
ChartSpec
{
"id": "gallery.small-multiples",
"data": [
{
"id": "channel-revenue",
"rows": 18
},
{
"id": "facets",
"rows": 3
},
{
"id": "series-points",
"rows": 18
},
{
"id": "endpoints",
"rows": 9
}
],
"transforms": [
{
"id": "facet-panel-layout",
"type": "layout",
"input": "channel-revenue",
"output": "facets"
},
{
"id": "sparkline-point-layout",
"type": "layout",
"input": "channel-revenue",
"output": "series-points"
},
{
"id": "sparkline-endpoint-sample",
"type": "sample",
"input": "series-points",
"output": "endpoints"
}
],
"fields": [
"series",
"month",
"order",
"x",
"y",
"value",
"tooltip",
"width",
"height",
"sampleIndex"
],
"scales": [
{
"id": "color",
"type": "ordinal",
"domain": {
"source": "field",
"data": "series-points",
"field": "series"
}
}
],
"layers": [
{
"id": "facet-panels",
"mark": "rect",
"role": "context"
},
{
"id": "facet-labels",
"mark": "text",
"role": "guide"
},
{
"id": "spark-lines",
"mark": "path",
"role": "data",
"path": {
"directD": false,
"areaBand": false,
"closedToY": false,
"curve": "linear",
"groupBy": [
"series"
],
"sortBy": "order"
}
},
{
"id": "spark-endpoints",
"mark": "point",
"role": "interaction"
}
]
}Resolved SceneGraph
{
"scene": "gallery.small-multiples.scene",
"scales": [
{
"id": "color",
"type": "ordinal",
"domain": [
"Online",
"Retail",
"Wholesale"
],
"range": [
"var(--colors-blue-9)",
"var(--colors-green-9)",
"var(--colors-amber-9)",
"var(--colors-purple-9)",
"var(--colors-red-9)"
]
}
],
"layers": [
{
"id": "facet-panels",
"role": "context",
"zIndex": 0,
"glyphs": 3
},
{
"id": "facet-labels",
"role": "guide",
"zIndex": 5,
"glyphs": 3
},
{
"id": "spark-lines",
"role": "data",
"zIndex": 10,
"glyphs": 3
},
{
"id": "spark-endpoints",
"role": "interaction",
"zIndex": 20,
"glyphs": 9
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
facet-panels
facet-labels
spark-lines
spark-endpoints
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.