Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
FD ICE Arrests
Reproduction of the FlowingData/NYT ICE-arrests small-multiple line chart from reconstructed rendered geometry.
Data Sources
23
Fields
30
Scales
6
Layers
28
Glyphs
148
rect 5 / line 30 / text 88 / path 25
Build Path
This example is rebuilt from gallery data source source-metadata by recipe flowingDataIceArrests: 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.flowingDataIceArrests",
"data": [
{
"id": "source_gallery_flowingdataicearrests",
"rows": 1
},
{
"id": "pipeline_reconstructed_ice_arrest_office_series_source",
"rows": 25
},
{
"id": "pipeline_reconstructed_average_daily_arrests_source",
"rows": 100
},
{
"id": "pipeline_increased_sharply_panel_rows_source",
"rows": 32
},
{
"id": "pipeline_peaked_last_year_panel_rows_source",
"rows": 32
},
{
"id": "pipeline_remained_flat_panel_rows_source",
"rows": 36
},
{
"id": "pipeline_increased_sharply_endpoint_labels_source",
"rows": 8
},
{
"id": "pipeline_peaked_last_year_endpoint_labels_source",
"rows": 8
},
{
"id": "pipeline_remained_flat_endpoint_labels_source",
"rows": 9
},
{
"id": "pipeline_panel_title_lines_source",
"rows": 6
},
{
"id": "pipeline_axis_captions_source",
"rows": 3
},
{
"id": "pipeline_increased_sharply_period_labels_source",
"rows": 8
},
{
"id": "pipeline_peaked_last_year_period_labels_source",
"rows": 8
},
{
"id": "pipeline_remained_flat_period_labels_source",
"rows": 8
},
{
"id": "__guide.pipeline_increase_y_grid_guide",
"rows": 6
},
{
"id": "__guide.pipeline_peak_y_grid_guide",
"rows": 6
},
{
"id": "__guide.pipeline_flat_y_grid_guide",
"rows": 6
},
{
"id": "__guide.pipeline_increase_x_axis_guide",
"rows": 4
},
{
"id": "__guide.pipeline_increase_y_axis_guide",
"rows": 6
},
{
"id": "__guide.pipeline_peak_x_axis_guide",
"rows": 4
},
{
"id": "__guide.pipeline_peak_y_axis_guide",
"rows": 6
},
{
"id": "__guide.pipeline_flat_x_axis_guide",
"rows": 4
},
{
"id": "__guide.pipeline_flat_y_axis_guide",
"rows": 6
}
],
"transforms": [],
"axes": [
{
"id": "pipeline_increase_x_axis_guide",
"scale": "pipeline_xincrease_x_scale",
"orientation": "bottom"
},
{
"id": "pipeline_increase_y_axis_guide",
"scale": "pipeline_yincrease_y_scale",
"orientation": "left"
},
{
"id": "pipeline_peak_x_axis_guide",
"scale": "pipeline_xpeak_x_scale",
"orientation": "bottom"
},
{
"id": "pipeline_peak_y_axis_guide",
"scale": "pipeline_ypeak_y_scale",
"orientation": "left"
},
{
"id": "pipeline_flat_x_axis_guide",
"scale": "pipeline_xflat_x_scale",
"orientation": "bottom"
},
{
"id": "pipeline_flat_y_axis_guide",
"scale": "pipeline_yflat_y_scale",
"orientation": "left"
}
],
"grids": [
{
"id": "pipeline_increase_y_grid_guide",
"scale": "pipeline_yincrease_y_scale",
"orientation": "y"
},
{
"id": "pipeline_peak_y_grid_guide",
"scale": "pipeline_ypeak_y_scale",
"orientation": "y"
},
{
"id": "pipeline_flat_y_grid_guide",
"scale": "pipeline_yflat_y_scale",
"orientation": "y"
}
],
"legends": [],
"fields": [
"__rowLabel",
"id",
"articleurl",
"nytarticleurl",
"imageurl",
"sourcedataset",
"extractedon",
"highlight",
"labelColor",
"labelValue",
"labelWeight",
"office",
"panelKey",
"panelTitle",
"stroke",
"averageDailyArrests",
"periodIndex",
"periodKey",
"periodLabel",
"seriesId",
"tooltip",
"tooltipAccentColor",
"tooltipBody",
"tooltipEyebrow",
"tooltipTitle",
"label",
"text",
"x",
"y",
"value"
],
"scales": [
{
"id": "pipeline_xincrease_x_scale",
"type": "linear",
"domain": {
"source": "values",
"values": [
0,
3
],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
},
{
"id": "pipeline_yincrease_y_scale",
"type": "linear",
"domain": {
"source": "values",
"values": [
0,
120
],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
},
{
"id": "pipeline_xpeak_x_scale",
"type": "linear",
"domain": {
"source": "values",
"values": [
0,
3
],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
},
{
"id": "pipeline_ypeak_y_scale",
"type": "linear",
"domain": {
"source": "values",
"values": [
0,
120
],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
},
{
"id": "pipeline_xflat_x_scale",
"type": "linear",
"domain": {
"source": "values",
"values": [
0,
3
],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
},
{
"id": "pipeline_yflat_y_scale",
"type": "linear",
"domain": {
"source": "values",
"values": [
0,
120
],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
}
],
"layers": [
{
"id": "pipeline_increase_y_grid_guide",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_peak_y_grid_guide",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_flat_y_grid_guide",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_increase_x_axis_guide-tick-marks",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_increase_x_axis_guide-labels",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_increase_y_axis_guide-labels",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_peak_x_axis_guide-tick-marks",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_peak_x_axis_guide-labels",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_peak_y_axis_guide-labels",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_flat_x_axis_guide-tick-marks",
"mark": "line",
"role": "guide"
},
{
"id": "pipeline_flat_x_axis_guide-labels",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_flat_y_axis_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_increaseplot_layout_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_peakplot_layout_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_flatplot_layout_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_panel_title_lines_layer",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_axis_captions_layer",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_increase_office_lines_layer",
"mark": "path",
"role": "data",
"path": {
"directD": false,
"areaBand": false,
"closedToY": false,
"curve": "linear",
"groupBy": [
"seriesId"
],
"sortBy": "periodIndex"
}
},
{
"id": "pipeline_increase_period_labels_layer",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_increase_endpoint_labels_layer",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_peak_office_lines_layer",
"mark": "path",
"role": "data",
"path": {
"directD": false,
"areaBand": false,
"closedToY": false,
"curve": "linear",
"groupBy": [
"seriesId"
],
"sortBy": "periodIndex"
}
},
{
"id": "pipeline_peak_period_labels_layer",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_peak_endpoint_labels_layer",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_flat_office_lines_layer",
"mark": "path",
"role": "data",
"path": {
"directD": false,
"areaBand": false,
"closedToY": false,
"curve": "linear",
"groupBy": [
"seriesId"
],
"sortBy": "periodIndex"
}
},
{
"id": "pipeline_flat_period_labels_layer",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_flat_endpoint_labels_layer",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "gallery.flowingDataIceArrests.scene",
"scales": [
{
"id": "pipeline_xincrease_x_scale",
"type": "linear",
"domain": [
0,
3
],
"range": [
56,
308
],
"ticks": [
0,
1,
2,
3
]
},
{
"id": "pipeline_yincrease_y_scale",
"type": "linear",
"domain": [
0,
120
],
"range": [
408,
78
],
"ticks": [
0,
20,
40,
60,
80,
100,
120
]
},
{
"id": "pipeline_xpeak_x_scale",
"type": "linear",
"domain": [
0,
3
],
"range": [
404,
656
],
"ticks": [
0,
1,
2,
3
]
},
{
"id": "pipeline_ypeak_y_scale",
"type": "linear",
"domain": [
0,
120
],
"range": [
408,
78
],
"ticks": [
0,
20,
40,
60,
80,
100,
120
]
},
{
"id": "pipeline_xflat_x_scale",
"type": "linear",
"domain": [
0,
3
],
"range": [
750,
1002
],
"ticks": [
0,
1,
2,
3
]
},
{
"id": "pipeline_yflat_y_scale",
"type": "linear",
"domain": [
0,
120
],
"range": [
408,
78
],
"ticks": [
0,
20,
40,
60,
80,
100,
120
]
}
],
"layers": [
{
"id": "create_chart_surface",
"role": "context",
"zIndex": -10,
"glyphs": 1
},
{
"id": "pipeline_increase_y_grid_guide",
"role": "guide",
"zIndex": 0,
"glyphs": 6
},
{
"id": "pipeline_peak_y_grid_guide",
"role": "guide",
"zIndex": 0,
"glyphs": 6
},
{
"id": "pipeline_flat_y_grid_guide",
"role": "guide",
"zIndex": 0,
"glyphs": 6
},
{
"id": "pipeline_view_layout_surface",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "pipeline_increaseplot_layout_surface",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "pipeline_peakplot_layout_surface",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "pipeline_flatplot_layout_surface",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "pipeline_increase_x_axis_guide-tick-marks",
"role": "guide",
"zIndex": 5,
"glyphs": 4
},
{
"id": "pipeline_peak_x_axis_guide-tick-marks",
"role": "guide",
"zIndex": 5,
"glyphs": 4
},
{
"id": "pipeline_flat_x_axis_guide-tick-marks",
"role": "guide",
"zIndex": 5,
"glyphs": 4
},
{
"id": "pipeline_increase_x_axis_guide-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 4
},
{
"id": "pipeline_increase_y_axis_guide-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 6
},
{
"id": "pipeline_peak_x_axis_guide-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 4
},
{
"id": "pipeline_peak_y_axis_guide-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 6
},
{
"id": "pipeline_flat_x_axis_guide-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 4
},
{
"id": "pipeline_flat_y_axis_guide-labels",
"role": "guide",
"zIndex": 20,
"glyphs": 6
},
{
"id": "pipeline_increase_office_lines_layer",
"role": "data",
"zIndex": 20,
"glyphs": 8
},
{
"id": "pipeline_peak_office_lines_layer",
"role": "data",
"zIndex": 20,
"glyphs": 8
},
{
"id": "pipeline_flat_office_lines_layer",
"role": "data",
"zIndex": 20,
"glyphs": 9
},
{
"id": "pipeline_panel_title_lines_layer",
"role": "guide",
"zIndex": 30,
"glyphs": 6
},
{
"id": "pipeline_axis_captions_layer",
"role": "guide",
"zIndex": 30,
"glyphs": 3
},
{
"id": "pipeline_increase_period_labels_layer",
"role": "guide",
"zIndex": 30,
"glyphs": 8
},
{
"id": "pipeline_peak_period_labels_layer",
"role": "guide",
"zIndex": 30,
"glyphs": 8
},
{
"id": "pipeline_flat_period_labels_layer",
"role": "guide",
"zIndex": 30,
"glyphs": 8
},
{
"id": "pipeline_increase_endpoint_labels_layer",
"role": "guide",
"zIndex": 35,
"glyphs": 8
},
{
"id": "pipeline_peak_endpoint_labels_layer",
"role": "guide",
"zIndex": 35,
"glyphs": 8
},
{
"id": "pipeline_flat_endpoint_labels_layer",
"role": "guide",
"zIndex": 35,
"glyphs": 9
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
create_chart_surface
pipeline_increase_y_grid_guide
pipeline_peak_y_grid_guide
pipeline_flat_y_grid_guide
pipeline_view_layout_surface
pipeline_increaseplot_layout_surface
pipeline_peakplot_layout_surface
pipeline_flatplot_layout_surface
pipeline_increase_x_axis_guide-tick-marks
pipeline_peak_x_axis_guide-tick-marks
pipeline_flat_x_axis_guide-tick-marks
pipeline_increase_x_axis_guide-labels
pipeline_increase_y_axis_guide-labels
pipeline_peak_x_axis_guide-labels
pipeline_peak_y_axis_guide-labels
pipeline_flat_x_axis_guide-labels
pipeline_flat_y_axis_guide-labels
pipeline_increase_office_lines_layer
pipeline_peak_office_lines_layer
pipeline_flat_office_lines_layer
pipeline_panel_title_lines_layer
pipeline_axis_captions_layer
pipeline_increase_period_labels_layer
pipeline_peak_period_labels_layer
pipeline_flat_period_labels_layer
pipeline_increase_endpoint_labels_layer
pipeline_peak_endpoint_labels_layer
pipeline_flat_endpoint_labels_layer
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.