Chart choice

Pie Chart vs Bar Chart: Which Should You Use?

By ChartPetalPublished

Choose a pie chart when the question is about shares of one complete total. Choose a bar chart when the question is about comparing amounts. The numbers below never change; only the view changes, so you can judge what each chart makes easier to see.

One budget, shown as a pie

Pie chart of the fictional budget: Housing 1800, Food 650, Transport 600, Other 450.
Actual ChartPetal output from fictional data. English chart labels are retained in every language.

The same budget, shown as bars

Horizontal bar chart of the same fictional budget: Housing 1800, Food 650, Transport 600, Other 450, on a zero-based scale.
Actual ChartPetal output from fictional data. English chart labels are retained in every language.
In this guide

One table, two views

Our fictional budget contains Housing 1,800, Food 650, Transport 600 and Other 450, totaling 3,500 units. Both charts are rendered by ChartPetal from these four rows. Housing is the largest category in either view; Food and Transport are close in size. The table provides exact values when the picture alone is not enough.

Fictional sample data
CategoryAmountShare of total
Housing1,80051.43%
Food65018.57%
Transport60017.14%
Other45012.86%
Total3,500100%
Download CSV

Use a pie to explain a share of the whole

Housing takes 51.43% of this budget, just over half. The pie makes that relationship to the full allocation visible. It is useful when your message is about the size of one part relative to the total, rather than the precise difference between two similar categories.

Define the whole before drawing the pie. These categories are mutually exclusive and include every amount in this fictional plan. An incomplete selection of expenses, unrelated rates, or multiple-choice survey selections would need a different explanation of the denominator. A circle alone does not make the data add up to a meaningful 100%.

Use bars to compare categories precisely

Food exceeds Transport by 50 units, or 1.43 percentage points of this total. That small gap is less obvious between slices than between bars aligned to the same baseline. If a reader needs to rank categories or compare a close pair, use bars and keep the exact numbers available.

For this non-negative dataset, the bar scale starts at zero. Truncating it near 600 would make a 50-unit difference look disproportionately large. Keep units consistent, label the axis and use the table for exact comparisons. The chart editor keeps zero in the value-axis range for bar charts.

More categories, small gaps and negative values

As categories increase, pie labels and similar slices become harder to follow. ONS guidance recommends a small set of categories and favors bars when slice sizes are close. If you combine small categories into Other, keep the total unchanged and explain what is included. ChartPetal accepts up to eight positive pie slices; that is a product limit, not a recommendation to use all eight.

A negative amount is not a slice of a positive whole. If your data includes refunds or a signed difference such as Actual − Budget, use an appropriate bar comparison with clear labels. Do not turn negatives into absolute values just to make a pie render: that changes the question and the total. ChartPetal rejects negative pie values.

Try both views with the same data

Open the budget example and select Use this sample. The pie opens with Category and Amount already chosen. In the editor, change the chart type to Bar and enable Horizontal bars to compare the same values. Return to Pie to inspect the allocation again. These manual changes do not call AI or use credits.

To test your own budget, edit the downloaded CSV or prepare a two-column table in a spreadsheet, then import it. Review field types and save an editable project if you want to return later. This is a visualization exercise, not a recommendation about how to allocate your money.

Further reading