Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Box & Whisker Plot
Raw segment observations derive quartiles and whiskers before layered marks render the distribution.
Data Sources
5
Fields
14
Scales
2
Layers
11
Glyphs
40
line 23 / rect 8 / text 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 segment scores
ChartSpec
{
"id": "catalogue.box-whisker",
"data": [
{
"id": "observations",
"rows": 36
},
{
"id": "summaries",
"rows": 4
},
{
"id": "__guide.y-grid",
"rows": 5
},
{
"id": "__guide.x",
"rows": 4
},
{
"id": "__guide.y",
"rows": 5
}
],
"transforms": [
{
"id": "score-quartile-summary",
"type": "summary",
"input": "observations",
"output": "summaries"
}
],
"axes": [
{
"id": "x",
"scale": "x",
"orientation": "bottom"
},
{
"id": "y",
"scale": "y",
"orientation": "left"
}
],
"grids": [
{
"id": "y-grid",
"scale": "y",
"orientation": "y"
}
],
"fields": [
"score",
"segment",
"q1",
"median",
"q3",
"whiskerMin",
"whiskerMax",
"tooltip",
"count",
"min",
"max",
"iqr",
"value",
"label"
],
"scales": [
{
"id": "x",
"type": "band",
"domain": {
"source": "field",
"data": "summaries",
"field": "segment"
}
},
{
"id": "y",
"type": "linear",
"domain": {
"source": "field",
"data": "observations",
"field": "score",
"includeZero": true
}
}
],
"layers": [
{
"id": "y-grid",
"mark": "line",
"role": "guide"
},
{
"id": "x-axis",
"mark": "line",
"role": "guide"
},
{
"id": "x-tick-marks",
"mark": "line",
"role": "guide"
},
{
"id": "x-labels",
"mark": "text",
"role": "guide"
},
{
"id": "y-axis",
"mark": "line",
"role": "guide"
},
{
"id": "y-labels",
"mark": "text",
"role": "guide"
},
{
"id": "whiskers",
"mark": "line",
"role": "data"
},
{
"id": "whisker-min-caps",
"mark": "line",
"role": "data"
},
{
"id": "whisker-max-caps",
"mark": "line",
"role": "data"
},
{
"id": "iqr-boxes",
"mark": "rect",
"role": "data"
},
{
"id": "medians",
"mark": "rect",
"role": "data"
}
]
}Resolved SceneGraph
{
"scene": "catalogue.box-whisker.scene",
"scales": [
{
"id": "x",
"type": "band",
"domain": [
"Core",
"Growth",
"Scale",
"Renewal"
],
"range": [
62,
686
],
"bandwidth": 83.62886597938144
},
{
"id": "y",
"type": "linear",
"domain": [
0,
100
],
"range": [
292,
24
],
"ticks": [
0,
25,
50,
75,
100
]
}
],
"layers": [
{
"id": "y-grid",
"role": "guide",
"zIndex": 0,
"glyphs": 5
},
{
"id": "x-axis",
"role": "guide",
"zIndex": 0,
"glyphs": 1
},
{
"id": "y-axis",
"role": "guide",
"zIndex": 0,
"glyphs": 1
},
{
"id": "x-tick-marks",
"role": "guide",
"zIndex": 5,
"glyphs": 4
},
{
"id": "whiskers",
"role": "data",
"zIndex": 8,
"glyphs": 4
},
{
"id": "whisker-min-caps",
"role": "data",
"zIndex": 9,
"glyphs": 4
},
{
"id": "whisker-max-caps",
"role": "data",
"zIndex": 9,
"glyphs": 4
},
{
"id": "iqr-boxes",
"role": "data",
"zIndex": 10,
"glyphs": 4
},
{
"id": "medians",
"role": "data",
"zIndex": 12,
"glyphs": 4
},
{
"id": "x-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 4
},
{
"id": "y-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 5
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
y-grid
x-axis
y-axis
x-tick-marks
whiskers
whisker-min-caps
whisker-max-caps
iqr-boxes
medians
x-labels
y-labels
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.