Curious Minds

Clear answers to science and history questions

Bar Plot: What It Is and How to Read One

· 6 min read · Science

A bar plot (also called a bar chart or bar graph) is a chart that represents data values as rectangular bars whose lengths are proportional to the quantities they stand for. One axis of the chart carries a categorical or discrete scale — the labels for the groups being compared — and the other axis carries a numeric scale that starts at zero. Each bar corresponds to one category, and the height (or length, in a horizontal bar plot) of that bar encodes the value for that category. The purpose of a bar plot is comparison: it lets a reader see at a glance which categories are larger, smaller, or roughly equal, without doing arithmetic.

The term is standard in statistics, data visualization, and everyday data reporting. "Bar plot" is the more formal name, common in academic and statistical writing; "bar chart" and "bar graph" are the everyday equivalents and appear in school textbooks and business documents. None of these is slang or nonstandard — they are interchangeable names for the same chart type, with only minor regional and stylistic preference between them. The word "bar" refers to the rectangular mark itself, and "plot" refers to the act of drawing data on axes.

Where the Term and the Chart Come From

The bar chart is usually credited to the Scottish engineer and political economist William Playfair, who published statistical graphics in the late 18th and early 19th centuries, including a well-known chart of trade data. Playfair's work is widely regarded as the origin of several common chart forms, including the bar chart and the line graph. The idea spread through the 19th century as statistical offices and newspapers began to present numbers graphically, and it became a standard tool of descriptive statistics in the 20th century.

The vocabulary followed the chart. "Bar" as a drawn rectangle and "plot" as a verb meaning to mark out data on axes both entered general English through mathematics and engineering. Today the phrase appears in software menus, statistics textbooks, and news graphics alike, and the underlying concept — length encodes magnitude — is one of the oldest and most reliable ideas in data visualization.

How a Bar Plot Works

A bar plot rests on a simple rule: the length of each bar is proportional to the value it represents. If one category has twice the value of another, its bar should be twice as long. To make that rule hold, the numeric axis must begin at zero. A bar truncated at a nonzero baseline exaggerates differences and is one of the most common ways bar charts mislead.

Two orientations are standard:

  • Vertical bars (column chart): categories run along the horizontal axis, values along the vertical axis. This is the default in most software and works well for a modest number of categories with short labels.
  • Horizontal bars: categories run down the vertical axis, values along the horizontal axis. This is preferred when category labels are long or when there are many categories, because horizontal labels are easier to read.

Bars are normally separated by small gaps, which signals that the categories are distinct and not part of a continuous scale. That gap is what distinguishes a bar plot from a histogram, where adjacent bars touch because the underlying variable is continuous.

Types of Bar Plot

Several variations serve different comparison tasks:

  • Simple bar plot: one bar per category, showing a single measure such as total sales by region.
  • Grouped (clustered) bar plot: two or more bars side by side within each category, comparing sub-groups — for example, sales by region split by year.
  • Stacked bar plot: bars subdivided into segments that sit on top of one another, showing both the total and its composition. Stacked bars are good for totals and part-to-whole relationships but harder to read for comparing individual segments across categories.
  • 100% stacked bar plot: every bar is scaled to the same total, so segments show proportions rather than absolute values.

How to Choose and Build One

Choosing a bar plot is appropriate when the data are categorical or discrete and the goal is comparison of magnitudes. It is the wrong choice for continuous data over time (a line chart usually fits better) or for showing a distribution's shape (a histogram fits better).

A practical sequence for building a clear bar plot:

  1. Decide what is being compared and make sure each category is a distinct, meaningful group.
  2. Choose orientation: vertical for few short labels, horizontal for many or long labels.
  3. Start the value axis at zero and keep the scale linear.
  4. Order the bars by value when no natural order exists, so the comparison is easy to scan.
  5. Label axes with units, and avoid clutter such as unnecessary gridlines or 3D effects.
  6. Use color to encode meaning, not decoration; a single color is usually enough for a simple bar plot.

Common Problems and Misconceptions

The most frequent error is a truncated axis, which makes small differences look dramatic. Another is using 3D or perspective effects, which distort the apparent length of bars and make accurate reading impossible. A third is overloading a single chart with too many categories, which turns comparison into a wall of bars.

A common misconception is that bar plots and histograms are the same thing. They are not. A bar plot compares distinct categories and leaves gaps between bars; a histogram shows the distribution of a continuous variable and its bars touch. Another misconception is that a bar plot can show trends over time as well as a line chart. It can display values at several time points, but a line chart usually communicates the trend more clearly.

Stacked bars also invite misreading: readers often compare the lengths of the upper segments, which do not share a common baseline. If segment comparison matters, grouped bars or a separate chart is safer.

Bar Plots Compared with Other Charts

Bar plots sit alongside a small family of standard charts, and the choice between them depends on the question being asked.

  • Bar plot vs. pie chart: a pie chart shows parts of a whole but is hard to read precisely; a bar plot compares magnitudes more accurately and handles more categories.
  • Bar plot vs. line chart: a line chart emphasizes change over a continuous scale such as time; a bar plot emphasizes differences between discrete groups.
  • Bar plot vs. histogram: a histogram shows the distribution of a continuous variable; a bar plot compares categories.
  • Bar plot vs. dot plot: a dot plot uses points instead of bars and can reduce visual clutter when there are many categories, but bars remain easier for general audiences.

Frequently Asked Questions

What is the difference between a bar plot and a bar chart?

Nothing substantive. "Bar plot" is the more formal, statistics-oriented name; "bar chart" and "bar graph" are everyday synonyms for the same chart. The choice is a matter of style and context, not of meaning.

Should a bar plot always start at zero?

For bars, yes. Because the length of the bar is what encodes the value, a nonzero baseline distorts the visual comparison. Line charts may use a nonzero baseline in some cases, but bar plots should not.

When should I use a horizontal bar plot?

Use horizontal bars when category labels are long, when there are many categories, or when the labels would otherwise need to be rotated or abbreviated. Horizontal layout keeps labels readable.

Can a bar plot show percentages?

Yes. A 100% stacked bar plot shows proportions within each category, and a simple bar plot can display percentages directly as long as the axis is labeled clearly and starts at zero.

Why do the bars in a bar plot have gaps between them?

The gaps signal that the categories are separate and distinct. When bars touch, as in a histogram, the chart is showing a continuous scale rather than discrete groups.

Is a bar plot suitable for time series data?

It can display values at successive time points, but a line chart usually communicates trends and rates of change more clearly. Bar plots are best when the emphasis is on comparing discrete categories.

In this article
  1. Where the Term and the Chart Come From
  2. How a Bar Plot Works
  3. Types of Bar Plot
  4. How to Choose and Build One
  5. Common Problems and Misconceptions
  6. Bar Plots Compared with Other Charts
  7. Frequently Asked Questions