> ## Documentation Index
> Fetch the complete documentation index at: https://cubed3-igor-cub-3186-donut-total-docs.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. Select **Donut** under **Shape** in the Style tab to switch; select **Pie** to switch back.

## Center total

Turn on **Show total** in the Style tab to render the measure's grand total in the donut's hole. The total uses the measure's number format.

The option appears only for a donut, since a pie has no hollow center to fill.

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