42eXploreReference guides and free tools

Types of Graphs and Charts

What each common graph shows, how to pick one by purpose and how to spot a misleading chart.

Updated December 4, 2026

The types of graphs used in classrooms, news reports and research papers each answer a different question about data. A bar graph compares amounts, a line graph follows change, a histogram shows how values are spread out and a scatter plot tests whether two measurements move together. The wrong type hides the comparison a reader needs or suggests one that is not there.

The main types of graphs at a glance

Common types of graphs and what each is for

GraphData it fitsQuestion it answersCommon mistake
Bar graphCounts or amounts for separate categoriesWhich category is largest, and by how much?Starting the value axis above zero
HistogramOne numeric variable grouped into equal intervalsHow are the values spread out?Unequal bin widths, or gaps between bars
Line graphValues measured in sequence, usually over timeHow did this change over time?Joining points for unrelated categories
Pie chartParts of a single whole that add to 100%What share of the total is each part?Too many slices, or slices of similar size
Scatter plotPairs of numeric values for the same casesDo two measurements move together?Reading a pattern as proof of cause
Box plotOne numeric variable, often split by groupWhere are the median, middle half and extremes?Hiding a tiny sample or a two-peaked shape
Dot plotSmall sets of numbers or categoriesWhere do individual values cluster?Using it for thousands of points
Stem-and-leaf plotA small set of numbersWhat is the shape, with every value kept?Unsorted leaves or uneven stems
Area chartTotals over time, often stacked in layersHow do a total and its parts change?So many layers the upper ones cannot be read
Stacked bar chartParts of a whole across several groupsHow does the makeup of totals differ?Asking readers to compare middle segments
PictographSimple counts shown with repeated iconsWhich category has more, at a glance?Enlarging icons instead of adding more

Choosing a graph by purpose

Start from the question, not from a software menu. Most questions about data serve one of five purposes:

When two types fit, prefer the one that puts the key comparison on a shared baseline, such as bars rising from the same zero line.

Types of charts for categories: bar, pie, stacked bar and pictograph

A bar graph draws one bar per category, its length proportional to the value. The Consumer Financial Protection Bureau's design guidelines describe bar charts as good at comparisons of discrete items or categories. Bars can stand upright, as a column chart, or lie flat, which leaves room for long labels.

A pie chart shows how one whole divides into parts, so its slices must add up to 100 percent. The UK Office for National Statistics (ONS) suggests pie charts work best with three or four categories and should not have more than six. When the slices are close in size, a bar chart is more effective.

A stacked bar chart splits each bar into segments to compare the makeup of several totals. Segments in the middle of a stack are hard to compare because they do not share a common baseline, so put the most important category at the bottom. A 100 percent stacked bar, in which every bar has the same height, usually beats a row of separate pies.

A pictograph repeats a small icon, with a key such as one icon for every 10 students. Keep every icon the same size and change only the count: doubling an icon's height also doubles its width, so it looks four times as large.

Graphs for distributions: histogram, dot plot, stem-and-leaf and box plot

A histogram summarizes the distribution of one numeric variable: where its center lies, how widely it spreads, and whether it is skewed or has more than one peak. The range is cut into equal-width intervals, called bins, and each bar's height is the count in its bin. Too few bins blur the shape; too many make it jagged.

A dot plot places one dot per value along a number line and stacks repeats. A stem-and-leaf plot does the same job with digits and keeps every original value. Example: nine quiz scores, 62, 67, 71, 74, 74, 78, 83, 85 and 91, give the plot below, and the longest row shows the 70s are the most common range.

Example stem-and-leaf plot of nine quiz scores

Stem (tens)Leaves (ones)
62 7
71 4 4 8
83 5
91

A box plot condenses a distribution into five numbers. The box runs from the lower quartile, the 25th percentile, to the upper quartile, the 75th percentile, so it holds the middle half of the data; a line marks the median, and whiskers reach toward the extremes. In the quiz example the median is 74, the fifth of the nine sorted scores. Box plots shine when several groups sit side by side, but they hide the shape inside the box, so a two-peaked distribution can look ordinary.

Bar graph versus histogram

The two look alike but answer different questions. A bar graph compares separate categories, such as favorite sports, so its bars are drawn with gaps and can be put in any useful order. A histogram shows one continuous measurement, such as height or test score, cut into intervals. Its bars touch because the scale underneath is unbroken, and their order is fixed by the number line. Rearranging a histogram's bars, or leaving gaps between them, misrepresents the data.

Graphs for change and relationships: line, area and scatter

A line graph joins values measured in sequence, so the slope between points shows the rate of change; CFPB's guidelines describe line charts as good at showing change over time. An area chart is a line graph with the space beneath it filled in. Stacked area charts share the stacked-bar weakness: only the bottom layer has a flat baseline.

A scatter plot gives each case one dot, placed by two measurements, such as hours studied and test score. It reveals relationships or association between two variables. An upward drift suggests a positive relationship, a downward drift a negative one, and a shapeless cloud little or none. A strong pattern shows association, not cause; a third factor may drive both.

Several of these forms are younger than they look: historians of graphics credit the Scot William Playfair with inventing the time-series line graph, the bar chart and the pie chart. His trade line graphs appeared in The Commercial and Political Atlas, published in London in 1786, and his pie charts in The Statistical Breviary of 1801.

Reading graphs critically

A checklist for making a clear graph

  1. Write down the one question the graph should answer, then choose the type by purpose.
  2. Start bar and area charts at zero; mark any cropped axis on a line graph.
  3. Label both axes with names and units, and use a title that states the finding.
  4. Order categories meaningfully: largest to smallest, or in their natural order.
  5. Use equal intervals for histogram bins and for time axes.
  6. Keep colors few and consistent, and check that the graph still reads in grayscale.
  7. Remove 3D effects, heavy gridlines and decoration that carries no data.
  8. Name the data source and the date of the data.

The numbers that summarize data, such as the mean and standard deviation, are covered on the statistics page and worked out by the statistics calculators. To turn counts into pie-chart percentages, use the percentage tools.

Sources

  • Consumer Financial Protection Bureau, Design System: cfpb.github.io/design-system/guidelines/data-visualization-guidelines
  • Office for National Statistics (UK), Service Manual: service-manual.ons.gov.uk/data-visualisation/chart-types/pie-and-doughnut-charts
  • Office for National Statistics (UK), Service Manual: service-manual.ons.gov.uk/data-visualisation/chart-types/stacked-bar-charts
  • NIST/SEMATECH e-Handbook of Statistical Methods: itl.nist.gov/div898/handbook/eda/section3/histogra.htm
  • NIST/SEMATECH e-Handbook of Statistical Methods: itl.nist.gov/div898/handbook/eda/section3/boxplot.htm
  • NIST/SEMATECH e-Handbook of Statistical Methods: itl.nist.gov/div898/handbook/eda/section3/scatterp.htm
  • Michael Friendly and Howard Wainer, A History of Data Visualization and Graphic Communication (companion site): friendly.github.io/HistDataVis/ch05-playfair.html
  • Office for National Statistics (UK), Service Manual: service-manual.ons.gov.uk/data-visualisation/guidance/axes-and-gridlines