Types of Graphs in Math

Published: . Last updated:

The main types of graphs in math are data graphs, which picture counts or measurements, and coordinate graphs, which picture equations. The data graphs you meet in school:

  • Categories: tally chart, pictograph, bar graph, double bar graph
  • Numbers on a scale: line plot, stem-and-leaf plot, histogram
  • Time, parts and pairs: line graph, pie graph, scatter plot

Need a bar graph for homework? Make one free with our bar graph maker.

On this page

Two families: data graphs and coordinate graphs

When a math teacher says "graph," they mean one of two things. Most of the time it is a data graph: a picture of counts, measurements or percentages, like a bar graph or a pie chart. Later, in algebra, "graph" usually means a coordinate graph: the line or curve you get by plotting the points that make an equation true.

This page is mostly about data graphs, since that is what you meet first and most often. Coordinate graphs get a short section near the end so you can tell the two apart.

The graphs also show up in a fairly predictable order. In the Common Core math standards, second graders draw picture graphs and bar graphs and make line plots of measurements. Third graders add scaled picture graphs and bar graphs, where one symbol or one square can stand for more than one item. Sixth graders put numbers on a number line with dot plots, histograms and box plots, and eighth graders build scatter plots for two measured quantities.

Quick test: if the graph comes from a table of data you collected, it is a data graph. If it comes from an equation like y = 2x + 1, it is a coordinate graph.

Graphs for counting things in categories

These graphs answer "how many in each group?" The groups are categories, like favorite fruit, eye color or type of pet.

Tally chart

What it shows
a running count, with one mark per item and every fifth mark drawn across the other four.
When to use it
while you are collecting data, before you draw the real graph.
Example
marking each classmate's vote for recess game as the votes come in. A tally chart is really a counting tool, so most tallies get turned into a bar graph or pictograph afterward.

Pictograph (picture graph)

What it shows
counts drawn as rows of small pictures or symbols.
When to use it
younger grades, posters, and data with only a few categories.
Example
one apple icon per student who picked apples. Once numbers get bigger, a key says what each symbol is worth (for example, one icon = 5 students), which is the "scaled picture graph" of third grade. Half a symbol then means half that amount, which is where pictographs get tricky to read.

Bar graph

What it shows
one bar per category, with the bar's length matching its count or value. OpenStax describes bar graphs as bars "separated from each other," and they can run vertically or horizontally.
When to use it
comparing amounts across groups. The National Center for Education Statistics (NCES) says bar graphs are used "to compare things between different groups or to track changes over time," and that for change over time they work best when the changes are large.
Example
favorite fruits in one class (chart below). For the parts of a bar graph and how to label them, see what a bar graph is, then practice with how to read a bar graph.
Favorite fruit in one class (example data)Bar graph of example data: apples 8 students, bananas 5, grapes 3, oranges 6.FruitNumber of students012345678ApplesBananasGrapesOranges8536
Favorite fruit in one class (example data)

Double bar graph

What it shows
two bars side by side for each category, one per group, with a legend.
When to use it
comparing two groups across the same categories.
Example
favorite fruit for Class A next to Class B. You can build one with the double bar graph maker, and the other kinds of bar graphs (stacked, horizontal, 100% stacked) are grouped on their own page.

Two more ways to show category counts: the lollipop chart maker draws a dot on a thin stem in place of a full bar, and the population pyramid maker sets two groups back to back by age group.

Graphs for numbers on a scale

These graphs are for numerical data, like heights, test scores or minutes of reading. The horizontal axis is a number line, not a list of categories, and the point is to see how the values spread out.

Line plot (dot plot)

What it shows
a number line with an X or dot stacked above each value every time it appears.
When to use it
small sets of measurements where you want to see every value, the most common value and any gaps.
Example
the lengths of ten pencils, measured to the nearest inch, with Xs stacked above 4, 5, 6 and 7. Elementary books usually say "line plot" and middle school books usually say "dot plot." They are the same graph.

Stem-and-leaf plot

What it shows
each number split into a stem (every digit except the last) and a leaf (the last digit), with the leaves listed in order beside each stem. OpenStax calls it "a good choice when the data sets are small."
When to use it
when you want the shape of the data and still want to read the original numbers.
Example
the scores 32, 35, 41, 47, 47 and 58 (example data) become 3 | 2 5, 4 | 1 7 7, and 5 | 8.

Histogram

What it shows
how many values fall into each equal-width range (bin), drawn as bars that touch. OpenStax describes a histogram as "contiguous (adjoining) boxes" with the data on the horizontal axis and frequency or relative frequency on the vertical axis, and notes it works well for large data sets.
When to use it
lots of numerical data where the shape (bunched up, spread out, lopsided) matters more than single values.
Example
test scores grouped into 50-59, 60-69 and so on (chart below). A histogram looks like a bar graph but is not one, and histogram vs bar graph covers the differences. To make one from your own numbers, try the free histogram maker.
Test scores for 27 students (example data)Histogram of example data: 2 scores in 50-59, 5 in 60-69, 9 in 70-79, 7 in 80-89, and 4 in 90-99.ScoreNumber of students024681050-5960-6970-7980-8990-9925974
Test scores for 27 students (example data)

Also in sixth grade: the box plot (box-and-whisker plot), which shows the minimum, quartiles, median and maximum of numerical data as a box with two whiskers.

Graphs for change over time and parts of a whole

Line graph

What it shows
points plotted in time order and joined by line segments, so the rise and fall is easy to follow.
When to use it
one quantity measured again and again over time. NCES says line graphs are used "to track changes over short and long periods of time," and that when the changes are small, line graphs work better than bar graphs.
Example
a plant's height measured every week (chart below). Statistics textbooks sometimes call this a time series graph. If you are choosing between the two, bar graph vs line graph walks through it.

Don't mix up line graph and line plot. A line plot stacks Xs over a number line and has no connecting line at all. A line graph connects points across time.

Plant height by week (example data)Line graph of example data: plant height 2 cm in week 1, 3.5 cm in week 2, 5 cm in week 3, 7 cm in week 4, and 8.5 cm in week 5.WeekHeight (cm)0246810Week 1Week 2Week 3Week 4Week 52.03.55.07.08.5
Plant height by week (example data)

Pie graph (circle graph)

What it shows
a circle cut into slices, where each slice is a share of the whole and all slices add up to 100%.
When to use it
one whole split into a few parts. NCES says pie charts are best for comparing parts of a whole and that "they do not show changes over time."
Example
how a student spends a 24-hour day (sleep, school, homework, free time). To show the same shares with bars, draw one divided bar with the percentage bar graph maker.

To show how a starting total rises and falls through a series of changes, enter each step in the waterfall chart maker.

Graphs for two variables

Scatter plot

What it shows
one dot per person or item, placed using two measurements at once, one on each axis.
When to use it
to see whether two quantities are related. OpenStax calls the scatter plot the most common and easiest way to show the relationship between two variables. If high values of one go with high values of the other, the relationship is positive; if high goes with low, it is negative. Eighth graders are asked to look for clusters, outliers, and linear or nonlinear patterns.
Example
hours studied (x) against quiz score (y) for each student in a class. NCES calls the same idea an X-Y plot.

Coordinate graphs of functions

What it shows
every point (x, y) that makes an equation true, drawn on the coordinate plane.
When to use it
algebra and beyond, when you have a rule instead of a data table.
Example
y = 2x + 1 graphs as a straight line; y = x² graphs as a U-shaped parabola. You will hear these named by the kind of function: linear, quadratic, exponential and so on. They are "types of graphs" in a different sense, because they picture a rule, not collected data. A scatter plot and a linear graph can look alike, but the scatter plot's dots are real observations, while the line is the rule itself.

Which graph should I use?

Start with the kind of data you have and the question you want to answer. This table covers the common school cases.

Choosing a graph type by data and question
Your dataYour questionGraph to use
Counts you are still collectingHow many so far?Tally chart
Counts in a few categories (young grades)Which group has the most?Pictograph or bar graph
Counts or amounts by categoryHow do the groups compare?Bar graph
Two groups, same categoriesHow do the two groups compare?Double bar graph
A small set of measurementsWhich values are most common?Line plot (dot plot) or stem-and-leaf plot
Many measurementsWhat shape does the data have?Histogram (or box plot)
One value measured over timeIs it going up or down?Line graph
Parts of one whole (percents)What share is each part?Pie (circle) graph
Two measurements per itemAre they related?Scatter plot
An equation or ruleWhat does the rule look like?Coordinate graph

Two quick checks catch most mistakes. If your horizontal axis is a list of names, you want bars with gaps (a bar graph), not a histogram. If your numbers don't add up to one whole, skip the pie graph.

Making and practicing these graphs

The bar graph examples page has worked examples with questions to answer, and how to read a bar graph covers scales, labels and "how many more" questions.

Pictographs, tally charts and line graphs are easy to draw by hand on grid paper.

For bar graphs, double bar graphs and anything else with bars, type or paste your numbers into the free bar graph maker. It runs in your browser, needs no sign-up, and downloads your chart as a PNG or SVG for homework or slides.

Related guides

Frequently asked questions

What are the main types of graphs in math?

The data graphs taught in school are the tally chart, pictograph, bar graph, double bar graph, line plot (dot plot), stem-and-leaf plot, histogram, box plot, line graph, pie (circle) graph and scatter plot. Algebra adds coordinate graphs of equations, such as linear and quadratic graphs.

What is the difference between a line plot and a line graph?

A line plot stacks an X or dot above a number line each time a value appears, and nothing is connected. A line graph plots values in time order and joins them with line segments to show change over time.

Why do histogram bars touch when bar graph bars don't?

A bar graph compares separate categories, so its bars have gaps between them. A histogram groups numerical data into equal ranges, so its bars touch. See histogram vs bar graph for side-by-side examples.

Which graph is best for showing parts of a whole?

A pie (circle) graph, as long as the parts add up to one whole. A 100% stacked bar graph also works and is easier to compare across several groups.

Which graph shows the relationship between two variables?

A scatter plot. Each dot uses one value on the x-axis and one on the y-axis, so you can see whether the two go up together, move in opposite directions, or show no pattern.

How this page is checked

Written by Cedrick Reese. Each graph definition was checked against OpenStax Introductory Statistics 2e and the NCES Kids' Zone graphing guide, and the grade levels against the Common Core State Standards for grades 2, 3, 6 and 8. The page is reviewed when those sources or school standards change, and all numbers in the charts are labeled example data.

Sources used on this page: