Chart Compiler Gallery
ChartSpec data compiles into resolved scales, layer specs, glyph definitions, scene graph nodes, and a single SVG renderer.
Radial Column Chart
Rebuilds the radial-column chart with equal-angle polar sectors, value-radius mapping, labels, and legend.
Data Sources
4
Fields
22
Scales
1
Layers
9
Glyphs
25
rect 8 / text 12 / path 5
Build Path
This example is rebuilt from gallery data source monthly-index by recipe radialColumnChart: 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.radialColumnChart",
"data": [
{
"id": "source_gallery_radialcolumnchart",
"rows": 5
},
{
"id": "source_columns",
"rows": 5
},
{
"id": "__guide.pipeline_colorlegend_guide",
"rows": 5
},
{
"id": "__guide.pipeline_colorlegend_guide.title",
"rows": 1
}
],
"transforms": [
{
"id": "pipeline_equal_angle_radial_sectors_transform",
"type": "layout",
"input": "source_gallery_radialcolumnchart",
"output": "source_columns",
"options": {
"count": 1,
"errorMethod": "standardError",
"fit": "contain",
"includeMax": true,
"innerRadius": 54,
"labelField": "month",
"layout": "pipeline_value_radial_sectors_panel_layout",
"layoutKind": "polarSectors",
"layoutMode": "equalAngleRadius",
"mode": "normal",
"order": [],
"outerRadius": 146,
"paddingInner": 2.8,
"value": "value"
}
}
],
"axes": [],
"grids": [],
"legends": [
{
"id": "pipeline_colorlegend_guide",
"scale": "pipeline_month_color_color_scale",
"kind": "color",
"title": "month"
}
],
"fields": [
"__rowLabel",
"id",
"month",
"value",
"endAngle",
"formatted",
"innerRadius",
"labelX",
"labelY",
"midAngle",
"outerRadius",
"pathD",
"percentLabel",
"share",
"startAngle",
"tooltip",
"label",
"x",
"y",
"symbolX",
"symbolY",
"text"
],
"scales": [
{
"id": "pipeline_month_color_color_scale",
"type": "ordinal",
"domain": {
"source": "field",
"data": "source_columns",
"field": "month",
"fields": [],
"includeZero": false,
"order": "input",
"reverse": false,
"symmetric": false
}
}
],
"layers": [
{
"id": "pipeline_colorlegend_guide-swatches",
"mark": "rect",
"role": "guide"
},
{
"id": "pipeline_colorlegend_guide-labels",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_colorlegend_guide-title",
"mark": "text",
"role": "guide"
},
{
"id": "create_chart_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_value_radial_sectors_panel_layout_surface",
"mark": "rect",
"role": "context"
},
{
"id": "pipeline_value_radial_sectors_panel_layout_frame",
"mark": "rect",
"role": "guide"
},
{
"id": "pipeline_value_radial_sectors_panel_layout_label",
"mark": "text",
"role": "guide"
},
{
"id": "pipeline_value_radial_sectors_paths_layer",
"mark": "path",
"role": "data",
"path": {
"directD": true,
"areaBand": false,
"closedToY": false,
"curve": "linear",
"sortBy": "value"
}
},
{
"id": "pipeline_value_radial_sectors_values_layer",
"mark": "text",
"role": "guide"
}
]
}Resolved SceneGraph
{
"scene": "gallery.radialColumnChart.scene",
"scales": [
{
"id": "pipeline_month_color_color_scale",
"type": "ordinal",
"domain": [
"Jan",
"Feb",
"Mar",
"Apr",
"May"
],
"range": [
"var(--colors-blue-9)",
"var(--colors-green-9)",
"var(--colors-orange-9)",
"var(--colors-purple-9)"
]
}
],
"layers": [
{
"id": "create_chart_surface",
"role": "context",
"zIndex": -10,
"glyphs": 1
},
{
"id": "pipeline_value_radial_sectors_panel_layout_surface",
"role": "context",
"zIndex": 0,
"glyphs": 1
},
{
"id": "pipeline_value_radial_sectors_panel_layout_frame",
"role": "guide",
"zIndex": 1,
"glyphs": 1
},
{
"id": "pipeline_value_radial_sectors_panel_layout_label",
"role": "guide",
"zIndex": 2,
"glyphs": 1
},
{
"id": "pipeline_value_radial_sectors_paths_layer",
"role": "data",
"zIndex": 20,
"glyphs": 5
},
{
"id": "pipeline_value_radial_sectors_values_layer",
"role": "guide",
"zIndex": 20,
"glyphs": 5
},
{
"id": "pipeline_colorlegend_guide-swatches",
"role": "guide",
"zIndex": 40,
"glyphs": 5
},
{
"id": "pipeline_colorlegend_guide-labels",
"role": "guide",
"zIndex": 41,
"glyphs": 5
},
{
"id": "pipeline_colorlegend_guide-title",
"role": "guide",
"zIndex": 42,
"glyphs": 1
}
]
}Glyph Data Tree
Full parameter lineage for the active compiler surface.
create_chart_surface
pipeline_value_radial_sectors_panel_layout_surface
pipeline_value_radial_sectors_panel_layout_frame
pipeline_value_radial_sectors_panel_layout_label
pipeline_value_radial_sectors_paths_layer
pipeline_value_radial_sectors_values_layer
pipeline_colorlegend_guide-swatches
pipeline_colorlegend_guide-labels
pipeline_colorlegend_guide-title
Glyph Inspector
Select a glyph in the chart to inspect resolved params and lineage.