Skip to content
Pie Chart Maker
Learn

Pie, donut or bar chart: which one to use for your data

A pie answers one question well: what share of this one total does each part take? If your question is a different one, such as which category is biggest, how two groups compare, or how a number changed, a bar chart usually answers it better.

First test: is it one whole?

Before thinking about looks, check three things:

  • The parts add up to something meaningful. A monthly budget, the votes in one election, the time in one day. If adding the numbers gives a nonsense total, stop here.
  • Every value is zero or positive. A slice cannot have a negative size. Profit and loss, or changes up and down, need a bar chart with a zero line.
  • Everything is in one unit, from one group. Not dollars mixed with hours, and not two classes mixed into one pie.

Survey questions with several possible answers fail the first test, because their percentages add up to more than 100. Averages and rates fail it too. What would “the average of three averages” be a share of?

How many slices?

Datawrapper's academy recommends four slices at most. In my experience five is fine if one slice is clearly the biggest and the smallest is still wide enough for a label. Past that, the legend gets long and the thin slices become slivers that nobody can compare.

You have two ways out. Group the small categories into one Other slice, which works when they are not the point of the chart. Or switch to bars, which works when they are. And if you only have two values, say 64% and 36%, a pie adds nothing that the sentence “64% said yes” does not already say.

Similar values: bars win

We judge angles and areas less precisely than lengths along a common baseline. When the shares are far apart, like 55%, 25% and 20%, that does not matter. When they are close, it does.

The same five shares of 23, 21, 20, 19 and 17 percent as a pie, where the order is hard to see, and as sorted bars, where it is obvious
Shares of 23, 21, 20, 19 and 17%: hard to rank in a pie, obvious as sorted bars.

If the reader's real question is “which one is biggest?” or “what is the ranking?”, sort the bars and you are done. Datawrapper says the same: use bars or columns to compare shares, especially when the differences are small. A pie reads best when one or two shares stand out, or when a share sits near a familiar fraction: a quarter, a half or three quarters.

Comparing two groups: a stacked bar, not two pies

Two pies side by side, such as sales mix in Store A and Store B, force the reader to compare angles across two circles that may also differ in size. Very few people can tell whether a slice went from 22% to 26% that way.

Use a 100% stacked bar instead: one bar per group, each split into the same categories in the same order and the same colors. The shared left edge gives every first segment the same baseline, and the change is easy to see. Each pie can only show one total, so two totals means two bars.

When a donut is the better pie

A donut is a pie with the middle cut out. You read it from the length of the arcs instead of the angles at the center, and for most readers the two are about equally easy. Its advantage is the hole. That is where the headline number goes: the total spend, the number of responses, or a single share like “72% complete”.

I pick a donut when:

  • the total matters as much as the split, for example “$2,185 a month” in the center of a budget;
  • the chart sits in a dashboard next to other figures and needs to look lighter;
  • one share is the story, shown in a strong color with the rest muted.

I keep a plain pie for school work (exams ask for angles at the center) and for tiny images, where a thin ring becomes hard to see. In the pie chart maker, switch Chart type to Donut, then set Center text to Total or Custom. Highlight slice mutes the others.

3D and exploded pies

Skip 3D. Tilting the circle makes the slices nearest the viewer look larger than slices of the same size at the back, and the thickness adds even more area at the front. Pulling every slice apart (“exploded” pies) breaks the circle the reader uses to judge the whole. Pulling out one slice a little is fine when that slice is the point.

Your data → the chart to use

Your dataUseWhy
2–5 parts of one total, one clearly biggestPieThe share of the whole is visible at a glance
Parts of one total, and the total is the headlineDonutThe center holds the total or the key share
6+ parts, small ones unimportantPie with OtherGrouping keeps it readable
6+ parts, every one mattersSorted bar chartLabels fit and the ranking is clear
Shares within a few points of each otherSorted bar chartLengths are easier to compare than angles
Same categories in two or more groups100% stacked barA common baseline makes changes visible
Multi-answer survey (total over 100%)Bar chartNot one whole, so no pie
Negative values, profit and lossBar chart with a zero lineA slice cannot be negative
A change over timeLine or column chartTime runs along an axis, not around a circle
Only two valuesA sentence“64% said yes” is enough

If a pie is right, make it a good one

Sort the slices from largest to smallest, starting at 12 o’clock. Datawrapper's editor also sorts largest first by default, with a keep-order option for data that has a natural order, such as survey scales. Use one strong color for the slice that matters and quieter colors for the rest. Label small slices outside the circle. Check that the percentage labels add up to exactly 100; if they don't, see why percentages don't add up to 100%. For drawing one by hand, the guide on pie chart angles has the working.

Questions and answers

What is the difference between a pie chart and a donut chart?

A donut is a pie with the center cut out. The shares are the same; the hole gives room for a total or a key figure.

When should you not use a pie chart?

When the values are not parts of one total, include negatives, are very close to each other, or when you need to compare two groups or show a change over time.

How many slices is too many for a pie chart?

Four or five slices are easy to read. With six or more, group the small ones into Other or use a sorted bar chart.

Is a stacked bar better than two pie charts?

Usually yes. With the same categories in the same order and colors, a 100% stacked bar shows differences between groups far more clearly than two separate pies.

Try the Pie Chart Maker

Keep reading