Skip to content
LoveToCalc

Types of graphs — which chart fits?

A chart is chosen by the question and by what the data are: categories, parts of one whole, measurements over time, a distribution, or pairs of two quantities.

What a chart does

A chart turns a table into shapes. A value becomes a length, a position, an angle or an area, and the reader compares the shapes instead of reading the numbers one at a time. The guide to presenting statistics from UNECE, the United Nations Economic Commission for Europe, sorts what charts can show into five kinds: comparison, change over time, distribution, correlation, and the share of a whole.

Two questions decide the choice:

  1. What should the reader see? Which group is largest, how something has changed, how the values are spread, or whether two quantities are related.
  2. What are the data? Categories with no order of their own (fruits, ways of travelling), numbers that have an order (number of siblings, years), many measurements of one quantity (heights, times), or pairs of measurements (two values for each person).

Seven charts and what they show

Chart Shows Data
Bar graph counts or values compared across categories categories
Vertical line chart how often each value occurs a few possible whole numbers, such as number of siblings
Pie chart how a whole is divided parts that together make up the whole
Line graph change along an ordered axis, usually time measurements at different times
Histogram how a measured quantity is distributed many measurements of one quantity, in classes
Box plot five numbers that summarise a distribution many measurements of one quantity
Scatter plot the relationship between two quantities pairs of measurements

Choose by the question

The table below is the same rule table that marks the Choose the chart questions on the tables and charts worksheets. More than one chart can fit the same situation: bars fit any comparison of categories, and a few measurements over time can be shown with bars as well as with a line. Where a chart does not fit, the reason is given.

Which charts fit which kind of data
DataBar chartPie chartLine graphHistogramBox plotScatter plot
Categories compared, with no whole they sharefitsdoes not fitdoes not fitdoes not fitdoes not fitdoes not fit
Parts of one whole, each unit counted oncefitsfitsdoes not fitdoes not fitdoes not fitdoes not fit
Answers where each person could choose severalfitsdoes not fitdoes not fitdoes not fitdoes not fitdoes not fit
One quantity at different timesfitsdoes not fitfitsdoes not fitdoes not fitdoes not fit
Many measurements of one quantitydoes not fitdoes not fitdoes not fitfitsfitsdoes not fit
Pairs of two quantities measured on the same unitdoes not fitdoes not fitdoes not fitdoes not fitdoes not fitfits

* Bar chart, with a caption saying that several answers were allowed.

Why the others do not fit

Categories compared, with no whole they share
  • Pie chart. The values do not add up to one whole, and a pie chart shows the parts of one whole.
  • Line graph. The categories have no order, so a line between them shows nothing.
  • Histogram. A histogram divides a measured quantity into classes; categories are not measured.
  • Box plot. A box plot summarises many values of a measured quantity; categories are not measured.
  • Scatter plot. A scatter plot needs two quantities measured on each item.
Parts of one whole, each unit counted once
  • Line graph. The categories have no order, so a line between them shows nothing.
  • Histogram. A histogram divides a measured quantity into classes; categories are not measured.
  • Box plot. A box plot summarises many values of a measured quantity; categories are not measured.
  • Scatter plot. A scatter plot needs two quantities measured on each item.
Answers where each person could choose several
  • Pie chart. Each person could choose several answers, so the shares add up to more than 100% and there is no one whole to divide.
  • Line graph. The categories have no order, so a line between them shows nothing.
  • Histogram. A histogram divides a measured quantity into classes; categories are not measured.
  • Box plot. A box plot summarises many values of a measured quantity; categories are not measured.
  • Scatter plot. A scatter plot needs two quantities measured on each item.
One quantity at different times
  • Pie chart. The values at different times are not parts of one whole, and a pie chart loses their order.
  • Histogram. A histogram shows how values spread across classes, not how one value changes over time.
  • Box plot. A box plot summarises the values and loses their order in time.
  • Scatter plot. There is one value at each time, not two quantities measured on each item; a line graph joins the values in order.
Many measurements of one quantity
  • Bar chart. A measured quantity is divided into classes that meet, so the bars touch: that is a histogram.
  • Pie chart. A pie chart has no axis, so it cannot show how the values spread along a scale.
  • Line graph. The values are not in order of time, so a line between them shows nothing.
  • Scatter plot. A scatter plot needs two quantities measured on each item.
Pairs of two quantities measured on the same unit
  • Bar chart. Each item has two numbers that belong together; this chart shows one quantity and loses the pairs.
  • Pie chart. Each item has two numbers that belong together; this chart shows one quantity and loses the pairs.
  • Line graph. The items are not one value in order of time; a line through them draws a path that is not in the data.
  • Histogram. Each item has two numbers that belong together; this chart shows one quantity and loses the pairs.
  • Box plot. Each item has two numbers that belong together; this chart shows one quantity and loses the pairs.

An example: the survey with several answers

Forty pupils were asked Which pets do you have at home? and could tick every answer that applied.

02468101214DogCatRabbitFishNo pet
Which pets do you have at home? 40 pupils, more than one answer allowed, so the bars add up to more than 40.
The data behind the figure
CategoryCount
Dog14
Cat12
Rabbit6
Fish4
No pet10

The answers were dog 14, cat 12, rabbit 6, fish 4 and no pet 10. That is 46 ticks from 40 pupils, because some have more than one kind of pet. As shares of the pupils they are 35%, 30%, 15%, 10% and 25%, which add up to 115%.

A pie chart cannot show this survey. The circle is one whole of 100%, and a pupil with both a dog and a cat would have to sit in two slices at once. Taking shares of the 46 ticks instead gives a circle that adds up, but then the dog slice is 30% of the ticks, and a reader reads it as 30% of the pupils having a dog. The share is 35%.

The bar graph above shows the survey correctly: one bar per answer with the number of pupils who chose it, and a line under the chart saying that more than one answer was allowed. Turned into shares of the 40 pupils, the bars add up to more than 100%, as they should.

Common mistakes

Going deeper: lengths are read more accurately than angles

Two charts of the same table can be read with different accuracy. A reader of a bar graph compares lengths along a common axis. A reader of a pie chart compares angles and areas, and UNECE notes that many readers find angles harder to compare than bars or lines: two slices of nearly equal size are hard to tell apart, while the same difference is plain between two bars. The guide also notes that many statisticians advise against pie charts, but that they should not be ruled out completely, because they show well how large one category is relative to the whole.

For bars and pie slices alike, the guide gives the same advice about order: sort the categories by size to make them easier to compare. That applies to categories with no order of their own. Where the categories have an order, such as age groups or years, that order stays.

See also

Exercises and tools

More articles

Sources

Updated November 7, 2026