Stacked Bar Chart
A bar chart variation where bars are divided into segments that represent different components of a total.
Definition
A stacked bar chart is a data visualization that extends the basic bar chart by dividing each bar into segments, where each segment represents a subcategory of the total value. The segments are stacked on top of each other (vertical) or end-to-end (horizontal), allowing comparison of both total values and the composition of each bar.
Examples
Revenue composition by year
Chart Visualization
This example includes an interactive chart visualization with 2 data points.
Chart type: bar
Usage
Best Used For
- Showing part-to-whole relationships within categories
- Comparing totals across categories while seeing composition
- Tracking changes in composition over time
- Visualizing hierarchical or nested data
Data Requirements
[Object]
When to use this chart
Budget allocation snapshot
Data shape: Spend mix by channel for a single month
Use for one or few time periods; switch to stacked area for continuous mix shifts
Source: Knaflic (2015); AMA dashboard design guidance
Limitations
Important Considerations
- ⚠Difficult to compare segments that aren't aligned to the baseline
- ⚠Can become cluttered with too many segments
- ⚠May be hard to see small differences between segments
- ⚠Less effective when segments have very different scales
Best Used For
- Showing part-to-whole relationships within categories
- Comparing totals across categories while seeing composition
- Tracking changes in composition over time
- Visualizing hierarchical or nested data
Supplemental Resources
- 📚Marketing Data Visualization Guide
Which chart type to use for ROAS trends, funnel drop-off, creative tests, and cohort retention
AdSights Guide - 📚Which Chart for Which Metric (Interactive Guide)
Full interactive companion with tabbed chart matrix, retention curves, axis-integrity demo, and pie-vs-bar comparison.
AdSights Article
Frequently asked questions
Common questions about Stacked Bar Chart, answered.
What is a stacked bar chart?
When should I use a stacked bar chart?
Stacked bar vs 100% stacked bar — what's the difference?
Why are upper segments in my stacked bar hard to compare?
How many segments should a stacked bar have?
Related Terms
Featured in topic hubs
Explore this term in context — alongside the related metrics, calculators, and guides curated in these hubs.