Use a pie chart when five or fewer categories add up to a whole and one of them is clearly the biggest; use a bar graph for more categories, similar sizes, changes over time or negative numbers. That is the UK government's rule of thumb, and most charts made here fit it.
The UK Government Analysis Function's chart guidance says a pie chart should only be used when there are five categories or fewer, the categories sum to a meaningful whole, and one category is dominant. If several categories are a similar size, it says to use a bar chart instead. Most charts made here are small enough for a pie: of the 21,401 charts downloaded from our editor between January 29 and November 29, 2026, 14,797 (69.1%) had two to five slices. Bar charts were 2.4% of downloads (509).
| Your data | Pick | Why |
|---|---|---|
| Five or fewer parts of one total, one clearly biggest | Pie chart | The share of the whole is the story |
| More than five categories | Bar graph | Thin slices are hard to tell apart; group small ones into Other or switch |
| Categories of similar size | Bar graph | Small differences in angle are hard to see; bar lengths are easy to compare |
| Months, quarters or years | Bar graph | Bars show the change from one period to the next |
| Negative values or values that don't add up to a total | Bar graph | A pie can only show parts of a whole |
Sources: UK Government Analysis Function, "Data visualisation: charts" (published May 19, 2022), read November 13, 2026; this site's own anonymous event log, January 29 to November 29, 2026, counted October 24, 2026. No chart contents are stored.
Pie charts and bar charts are the two most common chart types, yet they serve fundamentally different purposes. A pie chart shows how individual categories contribute to a whole — every slice is a fraction of 100 percent. A bar chart, on the other hand, compares discrete values side by side using rectangular bars of varying length. The key question to ask is whether your audience needs to see proportions or compare magnitudes. If the story is 'Marketing takes up 40 percent of the budget,' a pie chart works. If the story is 'Marketing spends twice as much as Sales,' a bar chart communicates that comparison more clearly.
Use pie charts when every category is a subset of a meaningful total and you want viewers to see each category's share at a glance.
Pie charts work best with a small number of slices. Past five, slices get too thin to tell apart.
If one slice is clearly larger than the rest, a pie chart makes that dominance immediately obvious.
Bar charts handle 10, 20, or even 50 categories cleanly because bars are aligned on a common axis, making length comparisons easy.
When categories represent time periods (months, quarters, years), a bar chart makes trends and growth patterns visible.
Bars against a scaled axis let readers estimate exact values. Pie slices make it harder to judge whether a slice is 23% or 27%.
Pie charts cannot represent negative numbers. Bar charts can extend below zero to show losses or declines.
Use the interactive editor below to create your own pie chart. Customize colors and labels, then download PNG, JPEG, SVG or PDF.
Ask an AI about this: ChatGPT · Claude · Perplexity