Bar Graphs: Types Construction and Examples

#Bar Graphs
TL;DR
Bar graphs compare separate categories using bars of equal width and varying length. This guide covers the four types, construction, the truncated-axis trap, and six worked examples.
PK
Prabhjot Kaur·reviewed byMadhukar VLast updated on November 25, 202610 min read

Key Points

  • Bar graphs display category counts as bars whose lengths are proportional to the values they represent.
  • Every bar has the same width and the gaps between bars are equal, because only length carries information.
  • The gap between bars exists because categories are separate, which is the structural difference from a histogram.
  • Grouped bar graphs compare two or more data sets side by side, while stacked bars show parts within each total.
  • A vertical axis that does not start at zero exaggerates differences, which is the most common way a correct bar graph misleads.

The Space Between the Bars Is Doing Work

A bar graph leaves gaps between its bars, and that empty space carries real meaning. It says the categories are distinct things that cannot be placed on a continuous scale, and that nothing exists between them.

Remove the gaps and the chart becomes a histogram, which claims the opposite. The two look almost identical and make incompatible claims about the data.

a vertical bar graph comparing four categories.
Vertical bar graph of favourite sports among 63 students, with cricket at 18, football at 24 highlighted as the tallest, tennis at 9 and hockey at 12.

What Is a Bar Graph?

A bar graph is a chart that compares categories using rectangular bars whose lengths are proportional to the values they represent.

Three conventions make it readable. Every bar has the same width, so only length varies. The gaps between bars are equal, so no category appears favoured. The value axis starts at zero, so a bar twice as long represents twice as much.

That third convention is the one most often broken, and breaking it changes what the reader concludes without changing a single number.

Try It Yourself

Use the chart maker to see Bar Graphs at work: drag, change the numbers and watch what happens.

What Are the Types of Bar Graph?

Four forms cover most uses.

Vertical bar graphs are the default, with categories along the horizontal axis. Horizontal bar graphs rotate the chart, which is better when category names are long or there are many of them.

a horizontal bar graph of the same data.
Horizontal bar graph of the same four sports, with bars extending rightwards and category names on the vertical axis.

Grouped bar graphs place two or more bars side by side within each category, which compares data sets directly. Stacked bar graphs place segments on top of one another within a single bar, showing both the total and its composition.

grouped bar graphs comparing two classes side by side.
Grouped bar graph comparing Class A and Class B across four sports, with two bars in each category.

Grouped bars make individual values easy to compare and totals hard. Stacked bars do the reverse. Choosing between them is choosing which comparison the reader will find easy.

How Do You Draw a Bar Graph?

Decide the scale before drawing anything, because the scale determines whether the graph fits and whether it is honest.

Find the largest value, choose an axis maximum a little above it, and pick a scale interval that divides cleanly. Draw and label both axes, mark the scale, then draw each bar to its value with equal widths and equal gaps. Title the graph with what it shows.

The axis must start at zero. A bar's length is the only thing representing its value, so a truncated axis makes lengths that are not proportional to the numbers.

how a truncated axis distorts a bar graph.
Two bar charts of the same values 20 and 22. The left chart starts its axis at 19 and the difference looks enormous; the right chart starts at 0 and the bars look nearly equal.

Examples of Bar Graphs

Example 1

Sixty-three students name a favourite sport: cricket 18, football 24, tennis 9, hockey 12. Which category is most popular, and by how much?

Football, at 24. It leads cricket by 6 students, and exceeds tennis by 15.

Reading differences directly off the bars is what a bar graph is for.

Example 2

A chart shows two bars, 20 and 22, and the second looks roughly twice the height of the first. What is happening?

The natural reading is that the second category is far larger, since the picture plainly shows one bar towering over the other.

Check the numbers. 22 exceeds 20 by 10 percent, not by 100 percent. The vertical axis must start above zero, probably at 19, so the visible parts of the bars are 1 unit and 3 units rather than 20 and 22.

The chart is not lying about the data. It is lying about the comparison, which is what readers actually take away.

Example 3

Draw a suitable scale for values 18, 24, 9 and 12.

The largest is 24, so an axis running 0 to 25 in steps of 5 fits comfortably and divides cleanly. Steps of 1 would clutter the axis; steps of 10 would make the 9 and 12 hard to distinguish.

Example 4

A grouped bar graph shows Class A and Class B across four sports. Which chart answers "which class is larger overall"?

Neither easily. Grouped bars compare within categories, so the reader must add four pairs mentally to get totals.

A stacked bar graph, or simply a second chart of the two totals, answers that question directly. The chart should match the question being asked.

Example 5

Sales figures are 120, 95, 140 and 110 across four quarters. Should this be a bar graph or a line graph?

Quarters have a natural order, so a line graph shows the trend better. A bar graph is not wrong here and is often used, but it invites comparison of sizes rather than attention to the rise and fall.

Example 6

A bar graph has bars of different widths. What does that imply?

In a bar graph, nothing should be implied by width, since only length carries value. Unequal widths make the eye read area instead of length, which inflates the apparent size of wider bars.

Width carries meaning only in a histogram, where a wider class genuinely covers a wider range of values.

Why the Bar Graph Became the Default Chart

Bar graphs dominate because of how human vision works rather than any mathematical property.

  • Length is the most accurately judged visual channel. People compare lengths along a common baseline far more precisely than they compare angles or areas, which is why bars beat pie charts for ranking.
  • A common baseline makes comparison exact. Every bar starts at the same line, so the eye does the subtraction.
  • It handles any number of categories. Four or forty, the chart stays readable, which a pie chart does not.
  • Order is free. Categories can be sorted by size to make ranking immediate, which is impossible on a continuous axis.

Official statistics rely on this. The US Bureau of Labor Statistics publishes occupational wage comparisons alongside its May 2025 figures, including a mean hourly wage of $33.54 across all occupations, in its Occupational Employment and Wage Statistics release, where the question is always which occupation compares how against another.

What Most Guides Get Wrong About Bar Graphs

Two points usually go missing.

The first is the zero baseline. Guides list "start the axis at zero" among the construction rules, as though it were a formatting convention like labelling axes. It is the rule that makes the chart truthful, because the length of a bar is the only thing encoding its value. Example 2 shows a chart that follows every other rule and still misleads completely.

The second is that grouped and stacked bars answer different questions. Most explanations present them as two styles. Grouped bars make within-category comparison easy and totals hard; stacked bars make totals easy and individual comparisons hard, especially for segments that do not start at the baseline.

Where Students Trip Up on Bar Graphs

Mistake 1: Drawing bars of unequal width

Where it slips in: Hand-drawn graphs where the bars are sized to fill the page.

Don't do this: Making the tallest bar wider because there is room for it.

The correct way: Keep every bar the same width and every gap the same. Only length may vary, because only length encodes the data.

Students who have just drawn a histogram are the most likely to vary widths, since in that chart an unequal width is sometimes correct.

Mistake 2: Omitting the gaps

Where it slips in: Converting a frequency table into a chart.

Don't do this: Letting the bars touch.

The correct way: Leave equal gaps. Touching bars make the chart a histogram and claim the horizontal axis is a continuous scale, which category names are not.

Mistake 3: Starting the value axis above zero

Where it slips in: Any data where the values are large and close together.

Don't do this: Starting at 19 to make a 20-against-22 difference visible.

The correct way: Start at zero. When the difference genuinely matters and is small, use a different chart or state the truncation prominently rather than hiding it in the axis.

The real-world consequence of a distorted scale shows up in how performance figures are presented to decision-makers. A chart that exaggerates a small gap can justify a decision the underlying numbers do not support, which is why published statistical releases specify their charting conventions rather than leaving them to the designer.

Key Takeaways

  • Bar graphs compare separate categories using equal-width bars whose lengths carry the values.
  • The gaps between bars exist because the categories are discrete, which distinguishes them from histograms.
  • Grouped bars compare across data sets; stacked bars show composition within a total.
  • A value axis starting above zero exaggerates differences, and is the most common way a correct chart misleads.
  • To work through data handling with a teacher, explore Bhanzu's elementary math tutor sessions or math classes for kids.

A Practical Next Step

Take one small data set and draw it twice, once with the axis from zero and once starting just below the smallest value. Show both to someone and ask which category is bigger and by how much. The gap between their two answers is the thing the zero baseline protects against.

Practice these to solidify your understanding. If the gaps still catch you, return to Mistake 2. Want a live Bhanzu trainer to walk through more data handling problems? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. US Bureau of Labor Statistics, Occupational Employment and Wages Summary, May 2025 (2026). bls.gov
  2. NIST/SEMATECH, e-Handbook of Statistical Methods, 1.3.3.14 Histogram (2022). itl.nist.gov
  3. US Census Bureau, Income and Poverty: income data and reports (2026). census.gov
  4. NIST/SEMATECH, e-Handbook of Statistical Methods, 1.3.3.7 Box Plot (2022). itl.nist.gov
  5. NIST/SEMATECH, e-Handbook of Statistical Methods, 1.3.5.6 Measures of Scale (2022). itl.nist.gov

Quick Quiz: Check Yourself

Three levels, fresh numbers every time, instant feedback with the working.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are bar graphs used for?
Comparing values across separate categories, such as favourite sports, sales by region or population by city.
What is the difference between bar graphs and histograms?
A bar graph shows separate categories with gaps between the bars. A histogram shows continuous data grouped into classes, so the bars touch and the horizontal axis is a measurement scale.
What are the types of bar graph?
Vertical, horizontal, grouped and stacked. Vertical is the default, horizontal suits long category names, grouped compares data sets, and stacked shows composition within totals.
Should a bar graph always start at zero?
Yes, for the value axis. A bar's length represents its value, so starting above zero makes the lengths disproportionate and exaggerates differences.
Can bar graphs show two data sets at once?
Yes. A grouped bar graph places their bars side by side within each category, and a stacked bar graph layers them within one bar.
✍️ Written By
PK
Prabhjot Kaur
Subject Matter Expert & Curriculum Developer
Prabhjot Kaur is an education professional with 14 years of experience in teaching, curriculum development, content review and teacher training. She taught for six years in the UK and has worked as a Subject Matter Expert for competitive exams, developing and reviewing content for Numerical Ability and Logical Reasoning. She has trained teachers in effective classroom practices and designs activity-based learning experiences that make concepts easy to understand.
LinkedIn
🔬 Reviewed By
Madhukar V
Math Columnist & Analyst
Book a FREE Demo ClassBook Now →