Skip to content

Stacked Bar Chart

A stacked bar chart, also known as a stacked bar graph, is a specific type of bar chart that takes the concept of visualizing category comparisons a step further.

Stacked Bar Chart Worldwide movie gross by genre, further subdivided by rating

Good choices for X Axis

  • Dates
  • Categorical Data

Good choices for Y Axis

  • Numerical values

Good choices for Group Axis

  • Categorical data


  • Categories: Similar to regular bar charts, one axis represents categories of data.
  • Values: Instead of individual bars for each category, the stacked bar chart uses segments within a single bar to represent different values.
  • Stacked segments: Each segment within the bar corresponds to a sub-category or value component. They are stacked on top of each other, with their combined height representing the total value for that category.
  • Colors: Different colors are typically used for each segment, making it visually clear which value contributes how much to the overall category value.

When to use a Stacked Bar Chart

  • Compare parts of a whole: Unlike regular bar charts that show individual category values, stacked bar charts help you understand how sub-categories contribute to the overall category.
  • Visualize proportions: The segments’ relative sizes within the bar immediately convey the proportional contribution of each sub-category to the whole.
  • Identify dominant components: You can easily see which sub-category has the largest or smallest contribution within each category.