Types of Graphs and Charts: 20 Types & When to Use Each
There are dozens of chart types, but most data stories fit a handful of them. The trick is to start with the question you want the chart to answer, and then pick the chart built for that question rather than the one that looks most impressive.
Quick answer: The most common types of graphs and charts are bar charts for comparing categories, line graphs for change over time, pie and donut charts for parts of a whole, histograms and box plots for distributions, and scatter plots for relationships between two numbers. Pick by the question: compare, track change, show composition, show distribution, or show a relationship.
This guide describes 20 chart types in six groups, each with what it shows, when to use it, and when to avoid it. Start with the quick picker, then jump to the group that matches your question.
Quick picker: which chart for which question?
| If you want to... | Use | Example |
|---|---|---|
| Compare values across categories | Bar chart | Revenue by region |
| Show change over time | Line graph | Monthly website visitors |
| Show parts of a whole, with few parts | Pie or donut chart | Share of traffic by source |
| Show a total and its parts across groups | Stacked bar chart | Support tickets by priority each week |
| Show how values are spread | Histogram or box plot | Exam scores in a class |
| Show the relationship between two numbers | Scatter plot | Advertising spend vs sales |
| Show how a total builds up or breaks down | Waterfall chart | Profit bridge from revenue to net income |
| Show where things flow | Sankey diagram | Budget sources to spending areas |
How to choose the right chart
Five questions narrow the field quickly:
- What is the question? Comparing, tracking change, showing composition, showing distribution, showing a relationship, and showing flow each point to a different family.
- What kind of data do you have? One category and one number suggests a bar chart. Two numbers suggests a scatter plot. A time sequence and a number suggests a line graph.
- How many items are there? Pie charts break down beyond about five slices. Bar charts cope with dozens of categories if you turn them horizontal. Lines handle hundreds of points but become tangled beyond five or so series.
- Who is the audience? A general audience does well with bars, lines, and pies. Specialist audiences can handle box plots, heatmaps, and Sankey diagrams.
- What has to be read precisely? People judge positions and lengths more accurately than angles and areas, which is why bars and lines are the safe default when exact comparison matters. Research on graphical perception by William Cleveland and Robert McGill in 1984 is the classic source for that ranking.
Charts for comparing categories
Bar chart (column chart)
What it shows: One bar per category, with the length of each bar proportional to its value. Vertical bars are often called column charts.
Use it when: You compare values across separate categories or rank items from highest to lowest.
Avoid it when: The horizontal axis is a long continuous sequence such as time, where a line shows the trend better, or when the value axis cannot start at zero, because bar length stops being honest.
Our bar graph guide covers parts, types, and examples.
Grouped bar chart
What it shows: Several bars per category, side by side, one for each series, such as two quarters for each product.
Use it when: You compare a few series within each category.
Avoid it when: There are more than three or four series per group, which makes the chart noisy.
Stacked bar chart
What it shows: The series stacked into one bar per category, so the bar shows a total and how it splits.
Use it when: The total matters as well as the parts. A 100% stacked version compares proportions across categories.
Avoid it when: There are more than three or four segments. Only the bottom segment and the total share a baseline, so the middle segments are hard to compare.
Pictograph
What it shows: Rows of icons, where each icon stands for a fixed quantity, such as one figure for every 10 visitors.
Use it when: The audience is general or young, the numbers are small, and a friendly style helps.
Avoid it when: Values need to be precise or are large, because partial icons are hard to read.
Radar chart
What it shows: Several variables on axes that radiate from a center, with the values joined into a polygon. It is also called a spider or web chart.
Use it when: You compare the profile of one or two items across the same set of attributes, such as skills or product ratings, all on comparable scales.
Avoid it when: You need precise comparison or have many series, because overlapping polygons are hard to separate.
Charts for change over time
Line graph
What it shows: Points joined by a line along an ordered axis, most often time, so the trend, peaks, and turning points are visible.
Use it when: You track one or more series over time or any ordered sequence.
Avoid it when: The x-axis is unordered categories, where a line implies a connection that does not exist.
Start with what is a line graph, then see when to use a line graph. The line family has twelve variations, from step to smoothed to dual-axis, covered in our line graph variations guide.
Area chart
What it shows: A line graph with the area beneath it filled in, which emphasizes volume. A stacked area chart shows how parts contribute to a total over time.
Use it when: The size of the total matters as well as the trend, or you show composition changing over time.
Avoid it when: Several overlapping series hide each other. See line graph vs area chart.
Slope chart
What it shows: Two columns of points, such as "before" and "after", with a line connecting each item's two values.
Use it when: You compare many items between exactly two moments and want to show who rose and who fell.
Avoid it when: You have more than two periods, where a line graph is the better choice. See the slope chart example.
Charts for parts of a whole
Pie chart
What it shows: A circle divided into slices whose angles are proportional to each share of the total.
Use it when: You show a simple part-to-whole split with two to five slices that add up to 100%.
Avoid it when: There are many slices, the slices are similar in size, or you want to compare across several pies. A bar chart is clearer in those cases. See pie chart examples.
Donut chart
What it shows: A pie chart with a hole in the middle, which leaves room for a total or headline number.
Use it when: You want a pie-style share chart with a central figure.
Avoid it when: You have the same cases as the pie: too many or too similar slices.
Treemap
What it shows: Nested rectangles whose areas are proportional to values, with groups placed inside larger groups.
Use it when: You show a hierarchy of parts with many categories, such as storage use by folder or budget by department and line item.
Avoid it when: Small differences matter, because people judge area less accurately than length.
Charts for distributions
Histogram
What it shows: Bars that count how many values fall into each range, or bin, of a continuous variable. The bars touch.
Use it when: You want the shape of the data: where it clusters, how wide it is, whether it is skewed.
Avoid it when: The data is categories rather than numeric ranges. That is a bar chart; the difference is explained in our bar graph guide.
Box plot
What it shows: The median, the middle half of the data (the box), the typical range (the whiskers), and any unusual values (outliers), in a compact shape.
Use it when: You compare distributions across several groups side by side.
Avoid it when: The audience is unfamiliar with the format, or the data set is very small, where a dot plot shows more.
Dot plot
What it shows: One dot per observation, or per count, stacked along a number line.
Use it when: The data set is small and you want to see every value.
Avoid it when: There are hundreds of values, because dots overlap and hide each other.
Charts for relationships
Scatter plot
What it shows: One point per observation, positioned by two numeric values, so you can see correlation, clusters, and outliers.
Use it when: You ask whether two numeric variables move together.
Avoid it when: One variable is an ordered sequence such as time and your goal is to show the trend. Use a line graph for that. See line graph vs scatter plot.
Bubble chart
What it shows: A scatter plot where the area of each bubble encodes a third numeric variable.
Use it when: You compare three numeric measures at once, such as spend, revenue, and customer count.
Avoid it when: The bubbles overlap heavily, or readers must compare third-variable values precisely, because area is hard to judge.
Heatmap
What it shows: A grid where color intensity represents the value in each cell.
Use it when: You look for patterns across two categories, such as visits by hour of day and day of week.
Avoid it when: Exact values matter or the color scale is not explained. Use a single-hue scale for ordered values and always include a legend.
Charts for flows and running totals
Sankey diagram
What it shows: Flows between stages, with the width of each link proportional to the quantity. It is named after Matthew Sankey, an Irish engineer who used the format to show steam engine energy flows in 1898.
Use it when: You show where something comes from and where it goes, such as energy, money, or visitors moving through a site.
Avoid it when: There are many nodes, because crossing flows turn the diagram into a tangle.
Waterfall chart
What it shows: How a starting value is increased and decreased by a series of steps to reach a final value, with floating bars for each step.
Use it when: You explain a change, such as a profit bridge from revenue to net income or a budget variance.
Avoid it when: There are only two values to compare, where a plain bar chart does the job.
Funnel chart
What it shows: Stages in sequence, with bars that shrink as fewer items make it to each next stage.
Use it when: You track a process where items drop out at each step, such as visitors to sign-ups to purchases.
Avoid it when: The stages are not a sequence, or you need exact conversion rates, which are better in a table.
Other charts you will meet
A few more names come up often, though they are less general-purpose:
- Pareto chart: bars sorted from largest to smallest, with a line showing the cumulative percentage. It is used to find the few causes behind most of a problem.
- Venn diagram: overlapping circles that show what sets share and where they differ.
- Two-by-two quadrant: a grid with two axes, used to sort items into four groups such as high and low effort versus high and low impact.
Graph or chart?
In everyday use the words are interchangeable. Some style guides reserve "graph" for plots of numbers against axes, such as line graphs and scatter plots, and "chart" for the wider family, including pie charts and flowcharts. This guide uses them as synonyms, and so do most readers.
Three of the most familiar types trace back to one person. William Playfair introduced the line graph and the bar chart in 1786 and the pie chart in 1801. His story is in our William Playfair biography.
Common mistakes when choosing a chart
- Using a pie chart for many categories. Past about five slices, switch to a bar chart.
- Using a line for unordered categories. Lines imply order and continuity.
- Adding 3D effects. They distort lengths and angles and add nothing.
- Truncating a bar chart's axis. Bars encode value by length, so the axis must start at zero.
- Combining two scales on one chart without clear labels. Readers cannot tell which line belongs to which axis.
- Picking the chart for its looks. A plain bar chart that answers the question beats a showpiece that does not.
- Stacking too many segments. Beyond three or four, the middle segments cannot be compared.
Free tools for the most common chart types
For the chart types people use most, you can build charts for free, with no sign-up, directly from CSV and export them as PNG or SVG:
- Line graph maker for trends over time.
- Bar chart maker for comparing categories, with horizontal and stacked options.
- Pie chart maker for shares of a whole, with a donut mode.
- Area chart maker for trends and composition.
The other chart types in this guide are described for reference; pick the right one for your question first, then the tool.
Frequently asked questions
What are the main types of graphs and charts?
The most common are bar charts, line graphs, pie charts, histograms, and scatter plots. They map to the five basic questions: how do categories compare, how does a value change over time, what are the parts of a whole, how are values distributed, and how are two variables related.
What is the difference between a graph and a chart?
In practice, nothing. Some style guides use "graph" for plots of numbers on axes and "chart" for the broader family, but most people use the words interchangeably.
Which chart is best for comparing categories?
A bar chart. Bars share a common baseline, so lengths are easy to compare. Use a grouped bar chart to compare several series within each category.
Which chart is best for showing change over time?
A line graph. It shows trends, peaks, and turning points across an ordered sequence. Use an area chart when the size of the total matters too.
Which chart shows parts of a whole?
A pie or donut chart works for a few slices that add up to 100%. A stacked bar chart works better when you compare composition across several groups.
How do I choose the right chart?
Start with the question you want to answer, then match it to a family: compare, track change, show composition, show distribution, show a relationship, or show flow. Use the quick picker at the top of this guide, and test the result by asking whether a stranger could read the main point in a few seconds.
Related guides
- What is a line graph: the definition, what one looks like, and what it is used for.
- Bar graph: definition, types, and worked examples.
- Pie chart examples: real-world uses, design tips, and mistakes.
- Line graph variations: the 12 main forms of the line graph and when to use each.
- Line graph vs scatter plot: how to choose between trend and relationship.
- Line graph vs area chart: when volume matters as much as the trend.
- Slope chart example: a before-and-after chart for comparing many items.
Share this article
Help others discover this content
Published on November 10, 2026
Last updated on November 10, 2026