# Sunburst Charts

### Chart setup to build a sunburst chart

{% stepper %}
{% step %}

#### **Axis**

Drag a hierarchical dimension to plot on the axis (e.g., Date hierarchy).
{% endstep %}

{% step %}

#### **Values parameter**

Drag a measure to analyze (e.g., Actual).
{% endstep %}

{% step %}

#### **Chart type**

Select **Sunburst** from the Hierarchy section of the  Chart Type dropdown menu.
{% endstep %}
{% endstepper %}

> Visualize hierarchical data represented by concentric rings, with each ring representing a level in the hierarchy. In this example, we have a date hierarchy.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FapwFzE96xcF6Yx8FYWXf%2Fimage.png?alt=media&#x26;token=c0afe805-fb04-4336-a671-fd7cbe0080fb" alt=""><figcaption><p>Sunburst chart</p></figcaption></figure>

### **1. Customization and formatting underCanvas settings**&#x20;

**1.1. Inner radius**

Set the radius for the inner circle using this option. Notice how the inner circle is bigger when we set the inner radius to 50.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FPgL6Pk6cxLuYv3yvZe7j%2Fimage.png?alt=media&#x26;token=9473635a-87e4-4d12-9537-adbaa9d8e9db" alt=""><figcaption><p>Inner radius</p></figcaption></figure>

**1.2. Sunburst category format**

The same color scheme is used for the parent and child levels. The hierarchy levels can be differentiated based on the opacity.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FX4qbANX1yHJyaA8418ET%2Fimage.png?alt=media&#x26;token=9e1ea6ca-1ea8-4f38-bec9-6b92053f5fc7" alt=""><figcaption><p>Sunburst category format</p></figcaption></figure>

## Additional Formatting Options

Here are the other settings that help you refine your sunburst chart.

<table><thead><tr><th width="143.5">Feature</th><th>Description</th><th data-type="content-ref">Link</th></tr></thead><tbody><tr><td>Number</td><td>Configure number formatting (decimals, units)</td><td><a href="../working-with-analytics+/3.-charts/3.8.-display-settings-for-charts/charts-number-settings">charts-number-settings</a></td></tr><tr><td>Legend</td><td>Show/hide and customize the legends</td><td><a href="../working-with-analytics+/3.-charts/3.8.-display-settings-for-charts/charts-legend-settings">charts-legend-settings</a></td></tr><tr><td>Data Label</td><td>Show exact values for each data point</td><td><a href="../working-with-analytics+/3.-charts/3.6.-data-label-customizations">3.6.-data-label-customizations</a></td></tr><tr><td>Trellis</td><td>Create small multiples using category split</td><td><a href="../working-with-analytics+/6.-trellis-customizations">6.-trellis-customizations</a></td></tr><tr><td>Conditional Formatting</td><td>Apply color rules to highlight values</td><td><a href="../working-with-analytics+/9.-conditional-formatting">9.-conditional-formatting</a></td></tr><tr><td>Sorting</td><td>Sort axis order</td><td><a href="../working-with-analytics+/10.-sort-and-reorder-data/sorting-data">sorting-data</a></td></tr><tr><td>Ranking</td><td>Limit to top/bottom N categories</td><td><a href="../working-with-analytics+/11.-ranking-data-topn/ranking-for-charts">ranking-for-charts</a></td></tr></tbody></table>
