Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Pipeline Coverage Matrix
Heatmap cells are plain rect glyphs with scale lineage.
Data Sources
5
Fields
13
Scales
3
Layers
7
Glyphs
137
rect 60 / text 77
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
Pipeline coverage matrix
ChartSpec
{
"id": "gallery.heatmap",
"data": [
{
"id": "cells",
"rows": 55
},
{
"id": "row-labels",
"rows": 5
},
{
"id": "column-labels",
"rows": 11
},
{
"id": "__guide.coverage-legend",
"rows": 5
},
{
"id": "__guide.coverage-legend.title",
"rows": 1
}
],
"transforms": [
{
"id": "heatmap-row-labels",
"type": "aggregate",
"input": "cells",
"output": "row-labels"
},
{
"id": "heatmap-column-labels",
"type": "aggregate",
"input": "cells",
"output": "column-labels"
}
],
"legends": [
{
"id": "coverage-legend",
"scale": "color",
"kind": "color",
"title": "Coverage",
"values": [
0,
40,
80,
120,
160
]
}
],
"fields": [
"row",
"column",
"value",
"label",
"tooltip",
"count",
"x",
"y",
"symbolX",
"symbolY",
"labelX",
"labelY",
"text"
],
"scales": [
{
"id": "x",
"type": "band",
"domain": {
"source": "field",
"data": "cells",
"field": "column"
}
},
{
"id": "y",
"type": "band",
"domain": {
"source": "field",
"data": "cells",
"field": "row"
}
},
{
"id": "color",
"type": "sequential",
"domain": {
"source": "field",
"data": "cells",
"field": "value",
"includeZero": true
}
}
],
"layers": [
{
"id": "coverage-legend-swatches",
"mark": "rect",
"role": "guide"
},
{
"id": "coverage-legend-labels",
"mark": "text",
"role": "guide"
},
{
"id": "coverage-legend-title",
"mark": "text",
"role": "guide"
},
{
"id": "cells",
"mark": "rect",
"role": "data"
},
{
"id": "values",
"mark": "text",
"role": "guide"
},
{
"id": "row-labels",
"mark": "text",
"role": "guide"
},
{
"id": "column-labels",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "gallery.heatmap.scene",
"scales": [
{
"id": "x",
"type": "band",
"domain": [
"Bar",
"Line",
"Stacked",
"Heatmap",
"Point",
"Histogram",
"Overview",
"Small",
"Map",
"Treemap",
"Table"
],
"range": [
122,
938
],
"bandwidth": 65.51824817518248
},
{
"id": "y",
"type": "band",
"domain": [
"ChartSpec",
"Scales",
"Layers",
"Glyphs",
"Inspector"
],
"range": [
48,
306
],
"bandwidth": 45.774193548387096
},
{
"id": "color",
"type": "sequential",
"domain": [
0,
157
],
"range": [
"var(--colors-blue-3)",
"var(--colors-blue-5)",
"var(--colors-blue-7)",
"var(--colors-blue-9)",
"var(--colors-blue-11)"
],
"ticks": [
0,
39.25,
78.5,
117.75,
157
]
}
],
"layers": [
{
"id": "cells",
"role": "data",
"zIndex": 10,
"glyphs": 55
},
{
"id": "values",
"role": "guide",
"zIndex": 20,
"glyphs": 55
},
{
"id": "row-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 5
},
{
"id": "column-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 11
},
{
"id": "coverage-legend-swatches",
"role": "guide",
"zIndex": 30,
"glyphs": 5
},
{
"id": "coverage-legend-labels",
"role": "guide",
"zIndex": 31,
"glyphs": 5
},
{
"id": "coverage-legend-title",
"role": "guide",
"zIndex": 32,
"glyphs": 1
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
cells
values
row-labels
column-labels
coverage-legend-swatches
coverage-legend-labels
coverage-legend-title
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.