Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Weekly Operations Timetable
Timetable layout transforms derive grid cells, day headers, and event geometry from raw schedule rows.
Data Sources
4
Fields
15
Scales
1
Layers
4
Glyphs
73
rect 59 / text 14
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 timetable events
ChartSpec
{
"id": "gallery.timetable",
"data": [
{
"id": "events",
"rows": 9
},
{
"id": "timetable-grid",
"rows": 50
},
{
"id": "day-headers",
"rows": 5
},
{
"id": "timetable-events",
"rows": 9
}
],
"transforms": [
{
"id": "timetable-grid-layout",
"type": "layout",
"input": "events",
"output": "timetable-grid",
"options": {
"end": 18,
"groupBy": [
"day"
],
"layout": "plot",
"order": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri"
],
"start": 8,
"layoutKind": "timetableGrid"
}
},
{
"id": "timetable-header-layout",
"type": "layout",
"input": "events",
"output": "day-headers",
"options": {
"end": 18,
"groupBy": [
"day"
],
"layout": "plot",
"order": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri"
],
"start": 8,
"layoutKind": "timetableDayHeaders"
}
},
{
"id": "timetable-event-layout",
"type": "layout",
"input": "events",
"output": "timetable-events",
"options": {
"end": 18,
"groupBy": [
"day"
],
"layout": "plot",
"order": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri"
],
"start": 8,
"labelField": "title",
"layoutKind": "timetableEvents"
}
}
],
"fields": [
"day",
"start",
"end",
"kind",
"label",
"x",
"y",
"width",
"height",
"title",
"hour",
"labelX",
"labelY",
"duration",
"tooltip"
],
"scales": [
{
"id": "kindFill",
"type": "ordinal",
"domain": {
"source": "field",
"data": "timetable-events",
"field": "kind"
}
}
],
"layers": [
{
"id": "time-grid",
"mark": "rect",
"role": "context"
},
{
"id": "day-labels",
"mark": "text",
"role": "guide"
},
{
"id": "event-blocks",
"mark": "rect",
"role": "data"
},
{
"id": "event-labels",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "gallery.timetable.scene",
"scales": [
{
"id": "kindFill",
"type": "ordinal",
"domain": [
"Team",
"Focus",
"External"
],
"range": [
"var(--colors-blue-9)",
"var(--colors-green-9)",
"var(--colors-amber-9)",
"var(--colors-purple-9)",
"var(--colors-red-9)"
]
}
],
"layers": [
{
"id": "time-grid",
"role": "context",
"zIndex": 0,
"glyphs": 50
},
{
"id": "day-labels",
"role": "guide",
"zIndex": 10,
"glyphs": 5
},
{
"id": "event-blocks",
"role": "data",
"zIndex": 20,
"glyphs": 9
},
{
"id": "event-labels",
"role": "guide",
"zIndex": 30,
"glyphs": 9
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
time-grid
day-labels
event-blocks
event-labels
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.