Comparison
Grouped Bar Chart
Multiple bars per category placed side by side for direct comparison across groups.
Headcount by Department and Gender
Engineering skews male, Marketing skews female
View data (5 rows)
| Department | Men | Women |
|---|---|---|
| Engineering | 82 | 34 |
| Sales | 64 | 48 |
| Marketing | 35 | 52 |
| Design | 28 | 41 |
| Support | 22 | 38 |
Use a grouped bar chart when…
- Comparing sub-groups within categories
- 2-4 groups per category
Avoid when…
- More than 4 groups (becomes cluttered)
- More than ~5 categories on the x-axis (groups stack into noise)
- When totals matter more than parts (use stacked bar)
Data it needs
| Property | Value |
|---|---|
| Min Rows | 2 |
| Min Columns | 3 |
| Column Types | stringnumber |
Visual anatomy
Marks
rectangle
Channels
position-xlength-ycolor-hue
Axes
x-categoricaly-quantitative
Guiding principles
Consider instead
Common mistakes
Too many groups per category
Inconsistent group ordering
History
Extension of the basic bar chart for multi-series comparison, common since the mid-20th century.
Accessibility notes
Hue is the only signal separating the groups, so pair color with patterns or direct labels for color-vision-deficient readers. The accompanying data table makes values screen-reader accessible.
Related reading
Got data? Let's see what works.
Drop your CSV. You'll get a Grouped Bar Chart plus four alternatives - ranked by which one actually fits your data best.