Best Data Viz
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)
Chart data table: Headcount by Department and Gender
DepartmentMenWomen
Engineering8234
Sales6448
Marketing3552
Design2841
Support2238
Make a grouped bar chart with your data

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

PropertyValue
Min Rows2
Min Columns3
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.