> ## Documentation Index
> Fetch the complete documentation index at: https://cubed3-claude-gallant-ramanujan-x9l6bc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Pie & donut

> Show how a single measure is distributed across a small number of categories.

Pie charts divide a circle into slices proportional to each category's share of the total. Best for communicating part-to-whole proportions to a broad audience when you have a small number of clearly distinct categories (typically five or fewer).

## Shape

In the Style tab, toggle **Shape** between **Pie** and **Donut**. Donut cuts a hollow center out of the circle, which can be used to surface a summary value via a [KPI](/docs/explore-analyze/charts/chart-types/kpi) tile on a dashboard, or simply to reduce visual density.

## Data labels

In the Style tab's **Data labels** section, toggle any combination of **Value**, **Category**, and **Percent** to show them directly on each slice. Percent is each slice's share of the total. Value and Percent each have their own number format, set from the format button next to their toggle.

Once a label is on, you can also set:

* **Position** — **Inside** the slice or **Outside** it, with a leader line
* **Font size**

## Concentric rings

A pie can only size its slices by one dimension. When your query has two or more dimensions, every dimension past the first draws as its own ring — one ring per dimension, nested outward from the center, each ring broken down by the ring inside it — instead of being dropped.

Reorder rings by dragging them in the **Rings** section of the Fields tab; the innermost ring also sets each slice's color. Only the outermost ring's measure total is exact — a measure that isn't additive (e.g. a count distinct) can't be summed correctly across inner rings, and the builder shows a warning when that's the case.

Data labels on a multi-ring chart can be limited to the **Outer ring** or shown on **All rings**, from the **Rings** control next to Position and Font size in the Style tab. Inner rings only ever show the Category label — Value and Percent at inner depths would need per-ring aggregation.

## Tooltips

By default, hovering a slice shows every column from your query. Use the **Tooltips** control in the Fields tab to show all fields, one field, or none.

## Color and slice ordering

Slices are colored using the active [color palette](/docs/explore-analyze/charts/configuration/color-and-stacking) in palette order, matched to the sort order of your query results. To change which slice appears first, adjust the sort in the results table.
