Radial Bar Chart

Rebuilds the radial-bar chart with concentric track and value paths, direct labels, and legend.

Radial Bar Chart
Gallery Radial Bar Pipeline pipeline

Data Sources

4

Fields

22

Scales

1

Layers

10

Glyphs

30

rect 8 / path 10 / text 12

Partner: 35Email: 48Social: 63Retail: 76Search: 92value radial bars panelPartner: 35Email: 48Social: 63Retail: 76Search: 9292927676636348483535SearchRetailSocialEmailPartnerchannel

Build Path

Gallery Radial Bar Pipeline

This example is rebuilt from gallery data source channel-progress by recipe radialBarChart: raw table rows -> TabularSource -> pipeline drafts -> analyzeAuthoringDrafts() -> materialized ChartSpec -> compileChart() -> SceneGraph -> SVG. The graph below shows the authored pipeline stage.

Pipeline recipe graph

7 pipelines
8 nodes
7 edges

Data Flow Diagram

0/313 nodes
0/512 edges
313 hidden

Select a glyph to highlight its complete source path.

Scope

Roles

source
transform
field
scale
layer
param
glyph

No matching flow nodes

Adjust search, scope, or role filters.

Available Data

4 tables
1 transforms

Imported table

source_gallery_radialbarchart
raw
5 columns
feeds pipeline_radial_bar_layout_transform

ChartSpec

{
  "id": "gallery.radialBarChart",
  "data": [
    {
      "id": "source_gallery_radialbarchart",
      "rows": 5
    },
    {
      "id": "source_radial_bars",
      "rows": 5
    },
    {
      "id": "__guide.pipeline_colorlegend_guide",
      "rows": 5
    },
    {
      "id": "__guide.pipeline_colorlegend_guide.title",
      "rows": 1
    }
  ],
  "transforms": [
    {
      "id": "pipeline_radial_bar_layout_transform",
      "type": "layout",
      "input": "source_gallery_radialbarchart",
      "output": "source_radial_bars",
      "options": {
        "count": 1,
        "end": 270,
        "errorMethod": "standardError",
        "fit": "contain",
        "includeMax": true,
        "innerRadius": 42,
        "labelField": "channel",
        "layout": "pipeline_value_radial_bars_panel_layout",
        "layoutKind": "radialBars",
        "layoutMode": "proportionalAngle",
        "maxValue": 100,
        "mode": "normal",
        "order": [],
        "outerRadius": 154,
        "paddingInner": 5,
        "start": -90,
        "value": "value"
      }
    }
  ],
  "axes": [],
  "grids": [],
  "legends": [
    {
      "id": "pipeline_colorlegend_guide",
      "scale": "pipeline_channel_color_color_scale",
      "kind": "color",
      "title": "channel"
    }
  ],
  "fields": [
    "__rowLabel",
    "id",
    "channel",
    "value",
    "category",
    "endAngle",
    "formatted",
    "innerRadius",
    "labelX",
    "labelY",
    "outerRadius",
    "pathD",
    "share",
    "startAngle",
    "tooltip",
    "trackPathD",
    "label",
    "x",
    "y",
    "symbolX",
    "symbolY",
    "text"
  ],
  "scales": [
    {
      "id": "pipeline_channel_color_color_scale",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "source_radial_bars",
        "field": "channel",
        "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_bars_panel_layout_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_value_radial_bars_panel_layout_frame",
      "mark": "rect",
      "role": "guide"
    },
    {
      "id": "pipeline_value_radial_bars_panel_layout_label",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_value_radial_bars_tracks_layer",
      "mark": "path",
      "role": "context",
      "path": {
        "directD": true,
        "areaBand": false,
        "closedToY": false,
        "curve": "linear",
        "sortBy": "value"
      }
    },
    {
      "id": "pipeline_value_radial_bars_paths_layer",
      "mark": "path",
      "role": "data",
      "path": {
        "directD": true,
        "areaBand": false,
        "closedToY": false,
        "curve": "linear",
        "sortBy": "value"
      }
    },
    {
      "id": "pipeline_value_radial_bars_values_layer",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.radialBarChart.scene",
  "scales": [
    {
      "id": "pipeline_channel_color_color_scale",
      "type": "ordinal",
      "domain": [
        "Search",
        "Retail",
        "Social",
        "Email",
        "Partner"
      ],
      "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_bars_panel_layout_surface",
      "role": "context",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "pipeline_value_radial_bars_tracks_layer",
      "role": "context",
      "zIndex": 0,
      "glyphs": 5
    },
    {
      "id": "pipeline_value_radial_bars_panel_layout_frame",
      "role": "guide",
      "zIndex": 1,
      "glyphs": 1
    },
    {
      "id": "pipeline_value_radial_bars_panel_layout_label",
      "role": "guide",
      "zIndex": 2,
      "glyphs": 1
    },
    {
      "id": "pipeline_value_radial_bars_paths_layer",
      "role": "data",
      "zIndex": 10,
      "glyphs": 5
    },
    {
      "id": "pipeline_value_radial_bars_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

10 layers

Full parameter lineage for the active compiler surface.

create_chart_surface

1

pipeline_value_radial_bars_panel_layout_surface

1

pipeline_value_radial_bars_tracks_layer

5

pipeline_value_radial_bars_panel_layout_frame

1

pipeline_value_radial_bars_panel_layout_label

1

pipeline_value_radial_bars_paths_layer

5

pipeline_value_radial_bars_values_layer

5

pipeline_colorlegend_guide-swatches

5

pipeline_colorlegend_guide-labels

5

pipeline_colorlegend_guide-title

1

Glyph Inspector

none

Select a glyph in the chart to inspect resolved params and lineage.