Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Error Bars
Raw observations are grouped into means and uncertainty intervals before line caps and point marks render the comparison.
Data Sources
5
Fields
11
Scales
2
Layers
10
Glyphs
38
line 24 / text 10 / point 4
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 grouped observations
ChartSpec
{
"id": "catalogue.error-bars",
"data": [
{
"id": "observations",
"rows": 24
},
{
"id": "error-intervals",
"rows": 4
},
{
"id": "__guide.y-grid",
"rows": 6
},
{
"id": "__guide.x",
"rows": 4
},
{
"id": "__guide.y",
"rows": 6
}
],
"transforms": [
{
"id": "segment-error-intervals",
"type": "errorInterval",
"input": "observations",
"output": "error-intervals",
"options": {
"errorMethod": "ci95"
}
}
],
"axes": [
{
"id": "x",
"scale": "x",
"orientation": "bottom"
},
{
"id": "y",
"scale": "y",
"orientation": "left"
}
],
"grids": [
{
"id": "y-grid",
"scale": "y",
"orientation": "y"
}
],
"fields": [
"value",
"segment",
"mean",
"lower",
"upper",
"error",
"tooltip",
"count",
"standardDeviation",
"standardError",
"label"
],
"scales": [
{
"id": "x",
"type": "band",
"domain": {
"source": "field",
"data": "error-intervals",
"field": "segment"
}
},
{
"id": "y",
"type": "linear",
"domain": {
"source": "field",
"data": "observations",
"field": "value",
"min": 40,
"max": 86,
"padding": 0.04
}
}
],
"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": "error-stems",
"mark": "line",
"role": "data"
},
{
"id": "lower-caps",
"mark": "line",
"role": "data"
},
{
"id": "upper-caps",
"mark": "line",
"role": "data"
},
{
"id": "means",
"mark": "point",
"role": "data"
}
]
}Resolved SceneGraph
{
"scene": "catalogue.error-bars.scene",
"scales": [
{
"id": "x",
"type": "band",
"domain": [
"Control",
"Variant",
"Retained",
"Expansion"
],
"range": [
62,
686
],
"bandwidth": 73.6
},
{
"id": "y",
"type": "linear",
"domain": [
40,
86
],
"range": [
282,
26
],
"ticks": [
40,
49.2,
58.4,
67.6,
76.8,
86
]
}
],
"layers": [
{
"id": "y-grid",
"role": "guide",
"zIndex": 0,
"glyphs": 6
},
{
"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": "error-stems",
"role": "data",
"zIndex": 10,
"glyphs": 4
},
{
"id": "lower-caps",
"role": "data",
"zIndex": 12,
"glyphs": 4
},
{
"id": "upper-caps",
"role": "data",
"zIndex": 12,
"glyphs": 4
},
{
"id": "x-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 4
},
{
"id": "y-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 6
},
{
"id": "means",
"role": "data",
"zIndex": 20,
"glyphs": 4
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
y-grid
x-axis
y-axis
x-tick-marks
error-stems
lower-caps
upper-caps
x-labels
y-labels
means
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.