How to make a pie chart, and when a bar chart works better
A pie chart shows the parts of a whole. This guide covers preparing the table, working out percentages and the cases where a pie is the wrong pick.
A pie chart shows how a whole is split up: how much of a budget goes to rent, or how many students in a class are in each club. Used in the right place, it can be read at a glance. Used in the wrong place, it misleads. This guide covers how to prepare the table, how to work out percentages and when a pie is the wrong choice, using the chart maker.
When is a pie chart the right choice?
A pie works if you can answer "yes" to all three questions:
- Do the parts add up to a meaningful whole? (Such as total spending in a month.)
- Is there only one series of numbers? (Just "Amount", not "This year" and "Last year" side by side.)
- Are there only a few parts? The more slices there are, the harder a pie is to read.
Preparing the table
A pie needs just two columns: the names of the parts in the first column and the numbers in the second. The first row gives the column names. You can copy cells from Excel or Google Sheets and paste them into the "Your table" box. The "Use sample table" button puts a sample table in the box. A made-up monthly budget:
| Expense | Amount |
|---|---|
| Rent | 1,200 |
| Groceries | 650 |
| Bills | 300 |
| Transport | 250 |
| Other | 100 |
A few details help:
- Sort from largest to smallest. The tool lays out the slices in the order of your table; it does not sort them. A sorted table gives a sorted pie.
- Group the small items. Very small slices are hard to read. The tool also does not write a value on a slice smaller than about 3.5% of the total. You can put them together under "Other".
- Do not use negative numbers. A part of a whole cannot be negative; if you have negative values, pick a column chart.
- Watch the number of colors. Each slice takes a color from the set you pick in the "Colors" box. The "Greys" set has 6 colors, so a seventh slice repeats the first color. The "Bright" set has 10. The "Corporate blue", "Pastel" and "Nature" sets have 8 colors each.
When we pasted this table and picked "Pie" as the chart type, the tool read 5 rows and 1 series. A number like "1,200" fits both the English and the European format, so the tool could not tell the format from the table and said it used the page language. On the English page that gives the right result. With a number like "1,200.50" in the table, it would have found the format from the data. If you are not sure, set "Number format" yourself: "Auto-detect", "1,234.5 (English)" or "1.234,5 (European)". Currency and percent signs ($, €, £, %) are dropped when the numbers are read.
How to work out percentages
With "Show values on the chart" ticked, the tool writes the value from your table on each slice; it does not work out percentages. If you want readers to see shares, calculate them yourself:
Share (%) = part ÷ total × 100
In the example, the total is 1,200 + 650 + 300 + 250 + 100 = 2,500.
| Expense | Amount | Share (%) |
|---|---|---|
| Rent | 1,200 | 48 |
| Groceries | 650 | 26 |
| Bills | 300 | 12 |
| Transport | 250 | 10 |
| Other | 100 | 4 |
The shares should add up to 100. If rounding gives 99 or 101, adjust the largest slice by one.
For pie and doughnut charts the tool uses only the first number column. When we pasted the three-column table above, the tool said so and drew the chart from the "Amount" column. To see percentages on the slices, delete the "Amount" column or move "Share (%)" into second place. Cells with a % sign are read too; the tool drops the sign. The slice shows only the number, so it helps to put "(%)" in the title.
Pie or doughnut?
"Doughnut" draws the same data as a ring with an empty center. It tells you the same thing; pick whichever looks cleaner to you. Slice names appear in the legend. Under "Legend" you can put it at the top, bottom or right, or hide it with "Hide". If you hide the legend, the slice names do not appear in the image you download, so keep it on if readers need to know which color is which.
When is a column or bar chart better?
In a pie you compare slices as angles and areas, which is hard when the values are close. In columns you compare heights that start from the same line. Pick a column or bar chart when you have:
- Change over time: months or years. These are not parts of a whole but a sequence.
- More than one series: for example monthly sales next to the target. A pie draws only the first number column.
- Parts that do not form a whole: such as the average temperature in different cities.
- Many items: with long item names, "Bar (horizontal)" is easier to read.
- Values that are very close: the gap between 21 and 23 is hard to spot in a pie and easy to see in columns.

If you turned the table above into a pie, the tool would use only the "Sales" column. Showing six months of sales as slices would not make sense anyway: the months are not parts of each other, they follow one another.
Putting the chart into a document
You get the chart with the "Download PNG" and "Download PDF" buttons. The PDF is landscape A4 with a white background. For the PNG, pick White or Transparent in the "Background" box; the "Image size" box offers 1920 × 1080, 3840 × 2160, 1080 × 1080 and 1200 × 900. If your browser allows it, a "Copy image" button appears; with it you can paste the chart straight into Word, PowerPoint or an email.
For the table you can choose a CSV or tab-separated text file (up to 5 MB). The tool does not open Excel files (xlsx) directly; copy the cells in Excel and paste them, or save the sheet as CSV. The tool reads at most 500 rows and 20 series. The "Swap rows and columns" box turns the table around.
Your table is never uploaded; the chart is drawn in your browser. When you are ready, open the chart maker.
More guides
Last updated: