Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Timeline
Dated events render through the temporal scale and generated date axis.
Data Sources
4
Fields
10
Scales
1
Layers
10
Glyphs
31
rect 3 / line 14 / point 5 / text 9
Build Path
This example is rebuilt from gallery data source events by recipe timeline: raw table rows -> TabularSource -> pipeline drafts -> analyzeAuthoringDrafts() -> materialized ChartSpec -> compileChart() -> SceneGraph -> SVG. The graph below shows the authored pipeline stage.
Pipeline recipe graph
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
Imported table
ChartSpec
{
"id": "gallery.timeline",
"data": [
{
"id": "source_gallery_timeline",
"rows": 5
},
{
"id": "pipeline_timeline_rail_layer_constants_source",
"rows": 1
},
{
"id": "__guide.pipeline_x_grid_guide",
"rows": 4
},
{
"id": "__guide.pipeline_x_guide",
"rows": 4
}
],
"transforms": [],
"axes": [
{
"id": "pipeline_x_guide",
"scale": "pipeline_x_x_scale",
"orientation": "bottom"
}
],
"grids": [
{
"id": "pipeline_x_grid_guide",
"scale": "pipeline_x_x_scale",
"orientation": "x"
}
],
"legends": [],
"fields": [
"__rowLabel",
"label",
"date",
"tooltip",
"id",
"x1",
"x2",
"y1",
"y2",
"value"
],
"scales": [
{
"id": "pipeline_x_x_scale",
"type": "time",
"domain": {
"source": "field",
"data": "source_gallery_timeline",
"field": "date",
"fields": [],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
}
],
"layers": [
{
"id": "pipeline_x_grid_guide",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_x_guide-tick-marks",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_x_guide-labels",
"mark": "text",
"role": "guide"
},
{
"id": "create_chart_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_view_layout_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_plot_layout_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_timeline_rail_layer",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_event_stems_layer",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_event_points_layer",
"mark": "point",
"role": "data"
},
{
"id": "pipeline_event_labels_layer",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "gallery.timeline.scene",
"scales": [
{
"id": "pipeline_x_x_scale",
"type": "time",
"domain": [
"2026-01-08",
"2026-05-12"
],
"range": [
48,
718
],
"ticks": [
1770336000000,
1772928000000,
1775520000000,
1778112000000
]
}
],
"layers": [
{
"id": "create_chart_surface",
"role": "context",
"zIndex": -10,
"glyphs": 1
},
{
"id": "pipeline_x_grid_guide",
"role": "guide",
"zIndex": 0,
"glyphs": 4
},
{
"id": "pipeline_view_layout_surface",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "pipeline_plot_layout_surface",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "pipeline_timeline_rail_layer",
"role": "guide",
"zIndex": 4,
"glyphs": 1
},
{
"id": "pipeline_x_guide-tick-marks",
"role": "guide",
"zIndex": 5,
"glyphs": 4
},
{
"id": "pipeline_event_stems_layer",
"role": "guide",
"zIndex": 8,
"glyphs": 5
},
{
"id": "pipeline_event_points_layer",
"role": "data",
"zIndex": 12,
"glyphs": 5
},
{
"id": "pipeline_event_labels_layer",
"role": "guide",
"zIndex": 16,
"glyphs": 5
},
{
"id": "pipeline_x_guide-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 4
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
create_chart_surface
pipeline_x_grid_guide
pipeline_view_layout_surface
pipeline_plot_layout_surface
pipeline_timeline_rail_layer
pipeline_x_guide-tick-marks
pipeline_event_stems_layer
pipeline_event_points_layer
pipeline_event_labels_layer
pipeline_x_guide-labels
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.