Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Store Revenue Symbol Map
Symbol map glyphs expose location, size, and region-color sources.
Data Sources
3
Fields
6
Scales
4
Layers
5
Glyphs
21
rect 1 / line 8 / point 6 / text 6
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
Store locations
ChartSpec
{
"id": "gallery.symbol-map",
"data": [
{
"id": "stores",
"rows": 6
},
{
"id": "lon-grid",
"rows": 4
},
{
"id": "lat-grid",
"rows": 4
}
],
"transforms": [],
"fields": [
"store",
"region",
"lon",
"lat",
"revenue",
"tooltip"
],
"scales": [
{
"id": "x",
"type": "linear",
"domain": {
"source": "values",
"values": [
-125,
-70
]
}
},
{
"id": "y",
"type": "linear",
"domain": {
"source": "values",
"values": [
30,
48
]
}
},
{
"id": "r",
"type": "linear",
"domain": {
"source": "field",
"data": "stores",
"field": "revenue"
}
},
{
"id": "color",
"type": "ordinal",
"domain": {
"source": "field",
"data": "stores",
"field": "region"
}
}
],
"layers": [
{
"id": "map-panel",
"mark": "rect",
"role": "context"
},
{
"id": "longitude-grid",
"mark": "line",
"role": "guide"
},
{
"id": "latitude-grid",
"mark": "line",
"role": "guide"
},
{
"id": "store-symbols",
"mark": "point",
"role": "data"
},
{
"id": "store-labels",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "gallery.symbol-map.scene",
"scales": [
{
"id": "x",
"type": "linear",
"domain": [
-125,
-70
],
"range": [
44,
684
],
"ticks": [
-125,
-111.25,
-97.5,
-83.75,
-70
]
},
{
"id": "y",
"type": "linear",
"domain": [
30,
48
],
"range": [
332,
26
],
"ticks": [
30,
34.5,
39,
43.5,
48
]
},
{
"id": "r",
"type": "linear",
"domain": [
58,
104
],
"range": [
9,
28
],
"ticks": [
58,
69.5,
81,
92.5,
104
]
},
{
"id": "color",
"type": "ordinal",
"domain": [
"West",
"Central",
"South",
"East"
],
"range": [
"var(--colors-blue-9)",
"var(--colors-green-9)",
"var(--colors-amber-9)",
"var(--colors-purple-9)",
"var(--colors-red-9)"
]
}
],
"layers": [
{
"id": "map-panel",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "longitude-grid",
"role": "guide",
"zIndex": 2,
"glyphs": 4
},
{
"id": "latitude-grid",
"role": "guide",
"zIndex": 2,
"glyphs": 4
},
{
"id": "store-symbols",
"role": "data",
"zIndex": 10,
"glyphs": 6
},
{
"id": "store-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 6
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
map-panel
longitude-grid
latitude-grid
store-symbols
store-labels
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.