Visualization types
Stacked Bar Chart
Also known as: stacked bar graph
A stacked bar chart is a bar chart that includes subgroups of data in each bar.
The length of each bar communicates the total value of a group which is a sum of it’s subgroup values, and the length of each subgroup represents their individual values. Stacked bar charts are best used to compare data between groups and between subgroups.
Stacked bar charts are best for depicting large changes of a subgroup or for gathering a quick, high level view of the content. Stacked bar charts are not optimal for conveying detailed or subtle changes in the subgroup values. As the subgroups get further from the axis, the values become harder to determine.
Examples
Population by Region
Guidance
In addition to the guidance provided in this section, relevant guidance can also be found in the Agency Logo, Axes, Colors, Grids, Labels, Legends, Source, Titles, Typography sections.
Requirements
Always
-
Begin the bar lengths at zero.
-
Include a legend along with labels.
-
Maintain an even amount of space between bars.
Never
-
Never depict more than five subgroups.
Recommendations
Recommended
-
Order groups by their total value or the values of a selected subgroup.
-
Include no more than five subgroups.
-
Use a sequential or diverging color scheme if the subgroups have an order.
-
Use a qualitative color scheme if the subgroups do not have an order.
Not Recommended
-
Don’t order groups by their alphabetical label.