> ## Documentation Index
> Fetch the complete documentation index at: https://cubed3-claude-gallant-ramanujan-ivbf5c.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).

## Variants

### Pie

Standard filled circle. Each slice's arc length is proportional to its value.

### Donut

A pie with a hollow center. Increase the **Inner radius** value in the Style tab to any non-zero value to switch to a donut. The hollow center 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.

## Inner radius

Drag the **Inner radius** slider in the Style tab or enter a pixel value. Setting it to `0` returns to a full pie.

## 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.

## Grouping small slices

Use **Slice grouping** in the Fields tab to collapse low-value categories into a single named slice instead of cluttering the chart with slivers. Choose one of two modes:

* **Minimal share** — group any category below a percentage threshold you set.
* **Top N values** — keep only the top N categories by value and group the rest.

The grouped slice's name is editable (defaults to "Other"). Its value is the sum of the measure across every category it absorbed, so it isn't directly comparable to the other slices, which each show one category's exact value.
