Pie chart

On this page 7

A pie chart is a circular chart that shows parts of a whole, dividing a disc into slices whose angles, arcs and areas are proportional to each category’s share of the total. In data visualization it answers one narrow question well: how a single total is split among a small number of categories.

Pie charts are among the most familiar and most criticized chart types. They work when there are few categories, a meaningful total and large differences, and they fail when readers must compare similar values, track change over time or read precise magnitudes. Knowing that boundary is the core of using them well.

How a pie chart encodes values

A pie chart maps each value to a central angle. A category with share p receives an angle of p multiplied by 360 degrees, so a 25 percent share becomes a 90-degree quarter and a 10 percent share becomes 36 degrees. Arc length and slice area scale by the same proportion, so all three visual cues tell the same story.

Because the encoding depends on shares, the data must satisfy two conditions: values are non-negative and the slices together form a meaningful whole of 100 percent. Overlapping categories, such as survey questions that allow several answers, violate this condition and do not belong in a pie.

The table below lists the main design parameters and their usual settings.

ParameterCommon practiceEffect on reading
Number of slicesTwo to five, rarely more than sixMore slices make comparison unreliable
Start angleTwelve o’clock, moving clockwiseMatches reading habits and the clock face
Slice orderLargest first, or a natural orderMakes ranking easier to see
LabelsDirect labels with percentagesRemoves the need for a legend
Small categoriesGrouped into an other slicePrevents unreadable slivers
ColorDistinct hues, one highlight colorDirects attention to the key slice
Pie chart design parameters

Variants of the pie chart

Several variants keep the circular part-to-whole idea while changing the layout. Each carries the same core limitation, because the reader still judges angles or areas rather than lengths.

VariantDescriptionTypical use
Donut chartPie with an empty centerSpace for a total or label in the middle
Exploded pieOne or more slices pulled outEmphasizing a single category
Sunburst chartConcentric rings for hierarchy levelsNested categories such as budget lines
Polar area chartEqual angles, radius varies with valueCyclic data such as months
3D pieTilted disc with depthNot recommended, distorts slice sizes
Pie chart variants and their typical use

The donut chart is often preferred in dashboards because the center can hold the total, and readers judge arc length about as well as angle. The 3D pie should be avoided entirely: perspective makes front slices look larger than rear slices of equal value.

Pie chart compared with other chart types

Research on graphical perception consistently finds that people compare positions and lengths more accurately than angles or areas. That finding explains why a bar chart usually communicates the same data more precisely than a pie chart.

ChartStrengthWeakness compared with a pie
Bar chartPrecise comparison of valuesTotal is less visually obvious
Stacked bar chartCompares compositions across groupsMiddle segments are hard to compare
TreemapHandles many categories and hierarchyArea judgment is still imprecise
Waffle chartCountable units, intuitive percentagesNeeds more space
Pie chartInstant whole-and-share impressionWeak for close or numerous values
Alternatives for part-to-whole data

The pie chart retains one genuine advantage: it signals at a glance that the parts add up to a whole. For a simple message such as one category holding about three quarters of the total, that signal is immediate and clear.

When to use a pie chart

A pie chart is appropriate when the main message is a share of a total and the audience needs the general proportion rather than exact figures. The decision table below summarizes common situations.

SituationRecommended chartReason
Two or three shares of one totalPie or donut chartProportion is obvious at a glance
Seven or more categoriesSorted bar chartSlices become too thin to compare
Shares that differ by a few pointsBar chart with labelsAngles hide small differences
Composition across several yearsStacked bar or area chartSeveral pies cannot be compared reliably
Nested category levelsTreemap or sunburstOne pie cannot show hierarchy
Choosing between a pie chart and alternatives
  • Label slices directly with category name and percentage.
  • Highlight one slice when the message concerns a single category.
  • Check that shares sum to 100 percent after rounding, or note the rounding.

Common mistakes with pie charts

Most problems with pie charts come from using them for data they cannot represent. The most damaging error is comparing several pies side by side, because readers must match angles across separate circles, which is one of the least accurate visual tasks.

Other frequent errors include too many slices, legends that force the eye to travel back and forth, colors that are hard to distinguish for readers with color vision deficiency, and slices that represent overlapping or non-exhaustive categories. Each one undermines the single strength of the chart, which is a clear impression of how a whole is divided.

Rounding deserves attention as well. Percentages rounded to whole numbers can sum to 99 or 101, and a careful chart either uses largest-remainder rounding or notes the discrepancy. Negative values, such as losses in a profit breakdown, cannot be shown as slices at all and call for a waterfall or bar chart instead.

In plain words

A pie chart looks like a pizza cut into slices of different sizes. The whole pizza is everything you are counting, and each slice shows one part’s share. A bigger slice means a bigger part.

This makes pie charts good for one quick message, such as most of a household budget going to rent. They are less useful when slices are similar in size, because eyes are not good at comparing angles. The takeaway is simple: use a pie for a few clear shares, and use bars for careful comparison.

A real-world example

A city council prepares a one-page summary of how residents commute. Survey results show that 58 percent drive, 24 percent use public transport, 12 percent cycle or walk and 6 percent work from home. The communications team uses a donut chart with four labeled slices, starting at twelve o’clock with the largest share, and places the total number of respondents in the center.

The same report also compares commuting patterns across five districts. For that question the team deliberately switches to a stacked bar chart, because five separate pies would force readers to compare angles between circles. Feedback from a council meeting shows that members grasped the citywide split immediately and could rank the districts correctly, which confirmed the choice of each chart type for its specific question.