---
title: "Sunburst chart in Vista | Oplema"
description: "Make a sunburst chart in Vista: show the shares of a total across several nested levels as rings, with up to four split levels."
url: "https://oplema.com/docs/vista/part-to-whole/sunburst"
updated: "2026-11-04"
---

# Sunburst

Sunburst draws nested levels as rings around a center. Each ring divides the ring inside it, so you follow a total as it splits level by level.

## Follow units from department to item

Departments fill the inner ring and items the outer one, so Drinks' half of the units divides into Tea and Coffee directly outside it.

Result
| Department | Item | Units |
| --- | --- | --- |
| Drinks | Tea | 20 |
| Drinks | Coffee | 30 |
| Food | Bread | 30 |
| Food | Cake | 20 |

1. In the Data tab, use Remove next to Breakdown to reduce the chart to one ring.
2. Change Operation from `Sum` to `Count rows`. The rings resize to the number of rows.
3. Open the Design tab and expand Labels to change the labels of each ring.

## When to use

Use Sunburst when the hierarchy itself is the point, such as a path from region to country to city. Outer rings leave little room for labels, so use Treemap for one or two levels with many parts.

## Inputs

1 port

**Table**

Accepts: Tables.

Accepts one connection on this port.

## Settings

**Group by**

Column for the parts. Auto picks a readable one.

**Group dates by**

How dates in this field are grouped, such as by day, month or year.

Default: `Day`

Options: Exact, Second, Minute, Hour, Day, Week, Month, Quarter, Year, Month of year, Day of week, Hour of day.

**Grouping**

Groups each number on its own, or into equal-width ranges.

Default: `Individual values`

Options: Individual values, Fixed-width ranges.

**Part value**

Column calculated into the size of each part. Auto picks one with varied values.

**Operation**

How the value column is calculated for each category. Columns that aren't numeric are counted.

Default: `Sum`

Options: Sum, Average, Median, Minimum, Maximum, 25th percentile, 75th percentile, 90th percentile, 95th percentile, Percentile, First by time, Last by time, Count values, Count distinct, Count rows, Count true, Percentage true.

**Breakdown**

Second split level inside each part.

**Breakdown 2**

Third sunburst ring.

**Sort by**

Sorts parts by their value.

Default: `Default`

Options: Default, Ascending, Descending, Group ascending, Group descending.

30 more settings

**Period size**

Number of units in each period. Hours, minutes and seconds count fixed intervals from 1970-01-01 in the chart's time zone. Calendar periods follow local boundaries.

Default: `1`

**Source timezone**

IANA time zone for timestamps without an offset, such as Europe/Copenhagen. Ambiguous local times need an explicit offset.

Default: `UTC`

**Chart timezone**

IANA time zone used for grouping and display. Vista filters keep their own time zone.

Default: `UTC`

**Week starts**

Day the week starts on.

Default: `Monday`

Options: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.

**Fiscal year starts**

Month the fiscal year starts in. Sets quarter and year boundaries.

Default: `January`

Options: January, February, March, April, May, June, July, August, September, October, November, December.

**showTooltip**

Shows or hides values when you hover over a mark.

Default: `true`

**Tooltip**

Use the automatic summary, or write your own text with values.

Default: `Automatic`

Options: Automatic, Custom.

**Values**

Values you can insert into the text. Each row calculates a value from a source field or, in charts, shows a chart value, and can have its own number or date format.

**Date labels**

How dates are written in the chart labels.

Default: `Auto`

Options: Auto, Iso, Date, Datetime, Custom.

**Tooltip dates**

How dates are written in tooltips.

Default: `Iso`

Options: Auto, Iso, Date, Datetime, Custom.

**Tooltip decimal places**

\-1 uses the measure's format.

Default: `-1`

**Thousands separators**

Groups digits with thousands separators in tooltip numbers.

Default: `true`

**Title**

Title shown inside the chart. Leave empty to hide it.

**Title color**

Color of the title.

**Title size**

Size of the title, in pixels.

Default: `24`

**Title alignment (plot)**

Alignment of the title.

Default: `Left`

Options: Left, Center, Right.

**Fill**

Solid center or donut with a hole.

Default: `Donut`

Options: Solid, Donut.

**Hole size**

Hole radius as % of the chart (0–95).

Default: `40`

**Slice gap**

Space between slices, in pixels.

Default: `1`

**Ring widths**

Even ring thickness, or thicker inner or outer rings.

Default: `Balanced`

Options: Balanced, Wide inner, Wide outer.

**Label control**

One label style for all rings, or a different style for each ring.

Default: `All rings`

Options: All rings, Per ring.

**Labels**

Shows labels always, never or only where they fit.

Default: `Auto`

Options: Auto, Show, Hide.

**Label orientation**

Labels along the arc or along the radius.

Default: `Along the arc`

Options: Along the arc, Along the radius.

**Label size**

Size of the slice labels, in pixels.

Default: `10`

**Label color**

Color of the slice labels.

**Center text**

Text inside the donut hole.

**Background**

Card background color. Auto follows the theme.

**Plot padding**

Space between the card edge and the chart, in pixels.

Default: `0`

**Corner radius (px)**

Corner radius in whole logical pixels.

Default: `0`

**Border width (px)**

Border width in whole logical pixels.

Default: `0`

## Sunburst FAQs

**How many levels can a Sunburst show?**

Up to four split levels: Group by and up to three Breakdown levels.

### Chart your data. Build it in Vista.

Vista opens in your browser, with no account.

[Open Vista](https://oplema.com/editor?path=%2F%3Fopen%3Dvista) [About Vista](https://oplema.com/vista)
