Grouped Bar Chart: Comparing Two Series Across the Same Categories
A grouped bar chart puts two or three series side by side for each category. How to lay out the data, which comparison it makes easy, and when to switch to a line or a pie.
Say you manage four regional teams and want to show this year's sales next to last year's for each region. Two separate bar graphs make the reader flick between charts and match up the regions themselves. A grouped bar chart puts the two bars for each region side by side on one axis, so the comparison happens in a single glance. That arrangement is the whole point of the chart, and most decisions about it come down to keeping that comparison easy.
What a grouped bar chart is good at
Each category on the axis gets a cluster of bars, one bar per series, and each series keeps the same colour all the way across. Excel calls this a clustered column chart; the idea is the same. It answers two questions at once: within one region, which bar is taller, and across the regions, how does one series rise and fall.
Those two questions don't get equal help. Bars standing right next to each other are easy to compare. Comparing this year's North with this year's West means skipping over other bars, which takes more effort. So decide which comparison matters most and make it the one inside each cluster. If the story is that every region grew, put the years side by side within each region. If the story is that West overtook North this year, a plain bar graph of this year alone may say it more clearly.
Laying out the data
The shape of the table decides the shape of the chart. Put the categories down the first column, give each series its own column, and name the series in a header row:
Region,Last year,This year
North,420,465
South,380,372
East,295,340
West,310,398
These figures are invented for illustration. Paste them into the bar graph maker and the first column becomes the labels, the header row becomes the series names in the legend, and each region gets two bars side by side against the same zero baseline. You can also type the numbers in directly and use "Add series" for another column of values. Cells copied from Excel or Google Sheets work the same way, because the tool reads tab-separated text as well as CSV.
If your table is the other way round, with years as rows and regions as columns, the chart will cluster by year instead. Neither layout is wrong, but they tell different stories, so transpose the table in your spreadsheet if the clusters aren't the comparison you meant.
Reading the example shows what the chart does and doesn't make obvious. North went from 420 to 465, up 45, or about 10.7%. South slipped from 380 to 372. East also rose by 45, but on its smaller base that is about 15.3%, and West rose by 88, about 28.4%. North and East gained the same amount and grew at quite different rates. The grouped bars show the absolute gap well. If the growth rate is your point, calculate it and chart that number on its own.
How many series and categories it can hold
Two series is the comfortable case. Three still works when the colours are clearly different and the categories are few. Past that, each cluster turns into a small bar code and the reader spends their effort matching colours to the legend. The add-series button in the tool stops at six, and that is a ceiling, not a target.
The number of categories has a similar limit. The tool prints the value on each bar while the chart has 30 bars or fewer; above that, the printed values are dropped and you see a number only by hovering over a bar. Four regions with two years is eight bars, easily labelled. Twelve months with three series is 36, and the labels go. When category names are long, switch to horizontal bars with the chart-type buttons so the names have room on the left.
If you are comparing several series across many time periods, a line graph usually reads better, and the same pasted table carries over when you switch chart types.
When a different chart fits better
A grouped bar chart compares the pieces against one another. If your real question is how a total splits into parts, a stacked bar shows the whole and its parts in one column. ToCharts doesn't draw stacked bars, so for the share of a single total use the pie chart maker, or build the stacked version in your spreadsheet. The chart examples page includes grouped bar layouts you can compare against before settling on yours.
Once the chart looks right, download it as PNG or SVG. Leave "Show values on the chart" switched on if the exact figures matter, since hover values don't come along in an image file.
What this can't do yet
The free bar graph maker draws grouped bars but not stacked bars, it has no option for a second y-axis, and printed values are dropped once a chart has more than 30 bars. There are no scatter, radar, bubble, gauge or heatmap chart types — only bar, horizontal bar, line, area, pie and donut. There is also no server-side batch chart generation API, so each chart is made by hand in the browser.
Frequently asked questions
What is a grouped bar chart used for?
It compares two or more series across the same set of categories, such as this year and last year for each region. The bars for each category sit side by side, which makes the comparison inside each cluster quick to read.
Is a grouped bar chart the same as a clustered bar chart?
Yes. Grouped, clustered and side by side bar chart all describe the same layout, and Excel calls the vertical version a clustered column chart. The name changes, but the data layout and the reading are the same.
How should I format data for a grouped bar chart?
Put the categories in the first column and each series in its own column, with a header row naming the series. Swapping rows and columns changes what gets grouped, so check which comparison you want inside each cluster.
How many series can a grouped bar chart have?
Two is easiest to read and three can work with distinct colours and few categories. The ToCharts bar graph maker lets you add up to six series, but readability drops well before that point.
When should I use a stacked bar chart instead?
Use a stacked bar when the question is how a total divides into parts rather than how the parts compare. ToCharts does not draw stacked bars, so use a pie chart for a single total or build the stacked chart in your spreadsheet.