Sunburst Diagram

A parent-child table compiles into radial hierarchy sectors rather than pre-authored path strings.

Sunburst Diagram

Data Sources

3

Fields

24

Scales

1

Layers

2

Glyphs

18

path 9 / text 9

Portfolio / Revenue: 66Portfolio / Revenue / Subscriptions: 44Portfolio / Revenue / Services: 22Portfolio / Retention: 49Portfolio / Retention / Renewals: 31Portfolio / Retention / Success: 18Portfolio / Expansion: 43Portfolio / Expansion / Add-ons: 16Portfolio / Expansion / Enterprise: 27RevenueSubscriptionsServicesRetentionRenewalsSuccessExpansionAdd-onsEnterprise

Data Flow Diagram

0/182 nodes
0/310 edges
182 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

3 tables
2 transforms

Hierarchy rows

hierarchy-rows
raw
6 columns
feeds sunburst-hierarchy

ChartSpec

{
  "id": "catalogue.sunburst-diagram",
  "data": [
    {
      "id": "hierarchy-rows",
      "rows": 10
    },
    {
      "id": "hierarchy",
      "rows": 10
    },
    {
      "id": "sectors",
      "rows": 9
    }
  ],
  "transforms": [
    {
      "id": "sunburst-hierarchy",
      "type": "hierarchy",
      "input": "hierarchy-rows",
      "output": "hierarchy",
      "options": {
        "idField": "node",
        "parentField": "parent",
        "labelField": "label",
        "value": "value"
      }
    },
    {
      "id": "sunburst-sector-layout",
      "type": "layout",
      "input": "hierarchy",
      "output": "sectors",
      "options": {
        "innerRadius": 34,
        "layout": "plot",
        "layoutKind": "sunburstSectors",
        "outerRadius": 156,
        "paddingInner": 0.8
      }
    }
  ],
  "fields": [
    "label",
    "parentId",
    "depth",
    "aggregateValue",
    "pathD",
    "startAngle",
    "endAngle",
    "innerRadius",
    "outerRadius",
    "share",
    "tooltip",
    "node",
    "parent",
    "value",
    "childCount",
    "isLeaf",
    "rootId",
    "order",
    "pathLabel",
    "formatted",
    "labelX",
    "labelY",
    "displayLabel",
    "labelOpacity"
  ],
  "scales": [
    {
      "id": "color",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "sectors",
        "field": "label"
      }
    }
  ],
  "layers": [
    {
      "id": "sunburst-sectors",
      "mark": "path",
      "role": "data",
      "path": {
        "directD": true,
        "areaBand": false,
        "closedToY": false,
        "curve": "linear",
        "groupBy": [
          "id"
        ]
      }
    },
    {
      "id": "sector-labels",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "catalogue.sunburst-diagram.scene",
  "scales": [
    {
      "id": "color",
      "type": "ordinal",
      "domain": [
        "Revenue",
        "Subscriptions",
        "Services",
        "Retention",
        "Renewals",
        "Success",
        "Expansion",
        "Add-ons",
        "Enterprise"
      ],
      "range": [
        "var(--colors-blue-9)",
        "var(--colors-green-9)",
        "var(--colors-amber-9)",
        "var(--colors-purple-9)",
        "var(--colors-red-9)"
      ]
    }
  ],
  "layers": [
    {
      "id": "sunburst-sectors",
      "role": "data",
      "zIndex": 10,
      "glyphs": 9
    },
    {
      "id": "sector-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 9
    }
  ]
}

Glyph Data Tree

2 layers

Full parameter lineage for the active compiler surface.

sunburst-sectors

9

sector-labels

9

Glyph Inspector

none

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