Free Stacked Bar Chart Maker
More chart tools
What is a stacked bar chart
A stacked bar chart divides each bar into colored segments, where each segment represents a different data series. The total bar height shows the combined value across all series, and each segment shows how much that series contributes.
Stacked bar charts are useful when you want to compare totals across categories while also showing the composition of each total. Common examples: revenue by product line across quarters, marketing spend by channel across months, headcount by department across years.
How to read a stacked bar chart
Start with the total bar height to compare the overall values across categories. Then look at individual segments to understand the composition. The bottom segment is the easiest to compare precisely because it shares a common baseline. Upper segments are harder to compare across bars since their baselines shift.
If you need to compare specific segment values precisely, a grouped bar chart is a better choice. Use the “Stacked” toggle above to switch and see the difference.
Stacked bar chart best practices
- Limit segments to 3-5. More than five stacked segments becomes hard to read. If you have many categories, combine smaller ones into an “Other” group.
- Order consistently. Keep the same series order in every bar. Don’t rearrange segments between categories.
- Use contrasting colors. Adjacent segments need enough contrast to distinguish them. The default color palette is designed for this.
- Put the most important series at the bottom. The bottom segment is the easiest to compare because it shares the x-axis as a baseline.
- Add data labels for precision. Toggle “Data labels” on to show exact values on each segment. This helps when eyeballing relative sizes is not enough.
When stacked works better than grouped
Use stacked when you want to emphasize totals and part-to-whole relationships. Use grouped when you need to compare individual series values across categories. If your audience needs to answer “how big is Product B in Q3 compared to Q1?”, grouped is better. If they need “what was total revenue in Q3?”, stacked is better.
Frequently Asked Questions
What is a stacked bar chart?
A stacked bar chart places multiple data series on top of each other in a single bar. The total bar height represents the combined value, while each colored segment shows a category's contribution. It's useful for showing part-to-whole relationships across groups.
When should I use stacked vs. grouped bar charts?
Use stacked when you care about the total across categories and want to see how each part contributes. Use grouped when you need to compare individual series values directly, since stacked segments (other than the bottom one) are harder to compare precisely.
Can I switch between stacked and grouped?
Yes. Toggle the 'Stacked' switch off to see the same data as a grouped bar chart. All your data and settings are preserved.