# Sunburst

A sunburst chart visualizes hierarchical data using concentric rings. It shows how a total metric is broken down across multiple levels.

It’s ideal for:

* memory breakdown per instance
* cost or usage hierarchy
* resource allocation
* drill-down analysis

### What a sunburst represents

Each ring represents one level in the hierarchy.

* **Center**: root (total of all values)
* **Inner ring**: first hierarchy column
* **Next rings**: deeper hierarchy levels
* **Slice size**: proportional to metric value
* **Color**: category grouping

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FPaclXjIeVW9RmzSxhMeF%2FScreenshot%20from%202026-01-09%2018-15-01.png?alt=media&#x26;token=de32b89a-8373-4367-8c4d-61d4bc565f97" alt=""><figcaption><p>Sunburst chart</p></figcaption></figure>

### Configure a sunburst chart

Use the **Plot** panel to choose the hierarchy levels and the value column.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FohskWPWtsnKj1a9gZP3H%2FScreenshot%20from%202026-01-09%2018-16-26.png?alt=media&#x26;token=4ceb1419-63a7-444b-ba4b-b0c05ff5944e" alt=""><figcaption></figcaption></figure>

### Sunburst chart options

Use these options to control how the sunburst chart renders.

| Option                      | Purpose                                              | Typical values / notes                                                                                                  |
| --------------------------- | ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Hierarchy columns (ordered) | Ordered levels for drill-down (inner → outer rings). | Examples: `cluster → namespace → app`, `instance → pod → container`, `service → endpoint → status_code`. Order matters. |
| Value column                | Numeric metric used to size each slice.              | Examples: `value`, `memory_bytes`, `cost`, `request_count`. Duplicate paths are aggregated.                             |
| Apply                       | Applies changes to the widget.                       | Changes do not render until you click **Apply**.                                                                        |

{% hint style="info" %}
Key rules: at least one hierarchy column is required, hierarchy order matters (inner → outer), and Value column must be numeric.
{% endhint %}

### When to use a sunburst chart

Use sunburst charts when:

* your data has multiple categorical levels
* you want visual drill-down
* you need proportional breakdown across hierarchy

They’re best for composition analysis (breakdowns), not trends.
