# Grouped Bar Chart

A grouped bar chart places multiple bars side by side for each category on the X-axis - one bar per sub-category. This lets you compare both the values within each main category and how each sub-category performs across all categories at once.

Grouped bar charts excel at comparing two or more datasets across multiple categories simultaneously.

###### Site Earnings

Bar chart with 4 data series.

Earnings by device type and site, for the first week of January

The chart has 1 X axis displaying categories.

The chart has 1 Y axis displaying values. Data ranges from 1634.24 to 47864.26.

Created with Highcharts 12.4.0  
Earnings by device type and site, for the first week of January  
$47.86K  
$46.71K  
$40.28K  
$18.18K  
$21.98K  
$25.08K  
$17.28K  
$13.88K  
$11.22K  
$1.63K  
$1.78K  
$1.75K  
Designer Donuts  
Indie Soda  
Holiday Food Crafts  
Cheese Board Plus

## Creating an Effective Grouped Bar Chart

Recommended data types for each axis:

- **X-Axis** Dates or categorical data
- **Y-Axis** Numerical values
- **Breakdown Axis** Categorical data (each unique value becomes a separate bar within the group)

## Description

- **Bar groups** - for each X-axis category, a cluster of bars is drawn; each bar in the cluster represents a different sub-category
- **X-Axis** - lists the main categories being compared
- **Y-Axis** - represents the measured quantity; starts at zero
- **Colors** - each sub-category is assigned a consistent color across all groups
- **Legend** - maps each color to its corresponding sub-category

## When to Use a Grouped Bar Chart

- **Compare sub-categories within and across groups** - side-by-side bars make within-group differences easy to read
- **Analyze multiple series over time** - when time periods are on the X-axis, trends within each series are visible
- **Focus on absolute values** - unlike stacked bars, each bar in a group shares the same zero baseline, making precise comparisons straightforward
- **Highlight cross-group patterns** - spot whether one sub-category consistently outperforms others across all groups

## When to Avoid a Grouped Bar Chart

- **Too many sub-categories** - more than 4–5 bars per group makes the chart cluttered; consider filtering or using a [stacked bar chart](https://instacharts.io/docs/chart-types/stacked-bar-chart/)
- **Part-to-whole comparisons** - when proportions matter more than absolute values, use a [stacked bar chart](https://instacharts.io/docs/chart-types/stacked-bar-chart/)
- **Continuous trends** - use a [grouped line chart](https://instacharts.io/docs/chart-types/grouped-line-chart/) when the X-axis is a time series with many data points
