Skip to content
Graph Craft

Bar Chart

horizontal bars

FacebookX
Example: Sales by branchApache ECharts

Variant: Standard

Made-up data, for demonstration only

Variants

5 types · click one to see it in the frame above
Difference from standard
The recommended type; use it as a starting point
Use when
Compare values across categories, especially those with long names

Bar Chart is a chart that uses the length of a bar to show the value of each category. Use it to see which category is bigger than which, and by how much. It suits long category names, because the labels can sit horizontally.

How to read a Bar Chart

  • Category names are on the vertical axis. Each bar is one branch. This example has 5 branches.
  • Bar length is the value. Read from the end of the bar down to the value axis at the bottom. The unit is millions of dollars. The Manhattan branch is longest and the Tampa branch is shortest.
  • The orange bar shows the value of every branch. The "Highlight one bar" variant uses the strong colour only on the selected branch.
  • The bars are sorted by value, so the ranking shows at once without tracing each bar by eye.

The branch figures in this example are made-up data. Before drawing a conclusion, check whether the value axis starts at 0. If it does not, bar lengths no longer match the real proportions. See mistake 1 below.

When to use it

  • Comparing one value across many categories, such as sales by region, scores by team, or complaints by type.
  • Category names are long, such as product names, department names, or survey answers.
  • You want the ranking to show, from largest to smallest or the reverse.
  • Readers are not used to charts. Most people can read a bar chart at once.

When not to use it

  • The value changes continuously over time, such as daily sales across a year. Use a Line Chart to show the direction.
  • The categories have a natural order and there are only a few, such as 4 quarters. Use a Column Chart; vertical bars read naturally as a left-to-right sequence.
  • There are very many categories, such as dozens. The bars fill the page like a solid block. Use a Lollipop Chart or a Dot Plot, which are lighter.
  • You want to compare subgroups within each category, such as this year against last year. Use a Grouped Bar.
  • You want to show parts of a whole. Use a Stacked Bar or a Pie Chart.
  • You want to see how continuous data is distributed, such as customer age. Use a Histogram, not a bar chart.

Common mistakes

1. The axis does not start at 0

Readers compare bar lengths. In this example the Manhattan branch (128) sells about 3 times as much as the Tampa branch (41), but if the axis is cut to start at 30, Manhattan looks about 9 times as long. The fix is to always start the value axis at 0. Try the "Axis not starting at 0" variant to compare. If you really need to show small differences, switch to a Dot Plot, which does not need to start at 0.

2. Bars are not sorted

Bars left in the original data order make readers hunt for the longest bar themselves. The fix is to sort from largest to smallest, unless the categories have a natural order, such as age bands. Try the "Not sorted" variant to compare.

3. Many colours with no meaning

Giving every bar a different colour when they are all the same kind of value makes readers guess what the colours mean. The fix is to use one colour and highlight only the bar you want people to look at with a strong colour. See the "Highlight one bar" variant.

4. Too many categories

A bar chart with many categories takes up space and is hard to read. If you must show them all, use a lollipop chart or a dot plot, or keep only the top ranks and say clearly what you left out.

Compared with similar charts

ChartHow it differsChoose it when
Bar ChartHorizontal bars, easy-to-read labelsCategory names are long, or there are fairly many categories
Column ChartVertical barsThe categories have a left-to-right order, such as months or quarters
Lollipop ChartBars thinned to a line and a dotThere are many categories and you want a lighter chart
Dot PlotDots on a value axis that need not start at 0You compare many categories across two series at once, or need to see small differences
Pie ChartAngle and area show the share of a wholeThere are 2–4 parts and the share of the whole is the point

History and development

An early example of a statistical bar chart appears in William Playfair's The Commercial and Political Atlas (1786). It shows Scotland's exports and imports with different places over the period 1780–1781.

Playfair's 1786 horizontal bar chart of Scotland's exports and imports with different places
Playfair's first bar chart plate in The Commercial and Political Atlas (1786). The black line is exports; the hatched line is imports · Image: Wikimedia Commons public domain

The bar chart came about because the data was not enough for a line chart. Jonathan Sachs writes that this chart has no time dimension, because the Scottish data was too thin to build a time series. Playfair himself admitted in the book that the chart covers no period of time and is less useful than charts that show time, and he dropped it from later editions of the Atlas.

Frequently asked questions

Who invented the bar chart?

William Playfair published an early statistical bar chart, with surviving evidence, in The Commercial and Political Atlas in 1786.

What is the difference between a Bar Chart and a Column Chart?

The direction of the bars. A bar chart lays the bars horizontally; a column chart lays them vertically. Both work for comparing values across categories, but if the category names are long, or the categories have no order, horizontal is more convenient. If the categories are a time sequence, use vertical.

How is a Bar Chart different from a Histogram?

A bar chart compares values across separate categories, and its bars have gaps between them. A histogram shows the distribution of continuous numeric data split into ranges, and its bars touch because the ranges are continuous.

Why must the axis start at 0?

Because readers compare bar lengths as proportions. If the axis is cut, the lengths no longer match the proportions of the real values.

How should the bars be sorted?

From largest to smallest, unless the categories have a natural order, such as age bands or shirt sizes.

References

  • 1786/1801: William Playfair, Statistical Graphics, and the Meaning of an Event · Jonathan Sachs · BRANCH · branchcollective.orgUsed to confirm: the context of Playfair and the birth of statistical graphs
  • Service manual: Simple comparisons, Bar chart · Office for National Statistics (UK) · service-manual.ons.gov.ukUsed to confirm: guidance on designing and choosing bar charts
  • Starting bars at zero · European Commission · data.europa.eu · data.europa.euUsed to confirm: guidance on starting bars at zero

Last updated 28 Nov 2026