Skip to content

Parts of a Whole

Use a proportion chart to answer “what share does each category contribute?” Keep the number of slices small. For comparing similar values precisely, prefer bars.

Interactive example

Part-to-whole charts

A small set of category shares.

The example loads when visible.

Use a single measure for an ordinary proportion chart. Pivot selects the first available series when the report exposes several.

pie and donut omit negative sectors and display a warning; the original dataset values remain available. semiDonut and waffle require non-negative values. Use a bar chart when negative amounts are part of the comparison, so they are visible rather than omitted.

TypeBest forRequired data
pieA small set of category shares.Category, value, and exactly one series.
donutShares with a central visual summary area.Category, value, and exactly one series.
semiDonutA compact half-ring composition.Category, value, and exactly one series.
waffleDiscrete-looking proportions in a 100-cell grid.Category, value, and exactly one series.

Compare each slice with its value in the data table before adding labels. For a ready chart:

await chart.update({ chartType: 'pie' });

See totals and labels.