A stacked bar chart places series segments end-to-end so the full bar length represents a cumulative total. This makes it ideal for comparing both individual parts and overall sums across categories.
This sample breaks down gold, silver, and bronze medal counts for the top 10 countries at the Beijing 2022 Winter Olympics. Custom medal colors, a styled title, and an interactive legend let viewers compare each nation’s haul. A union tooltip shows the per-medal breakdown and total count on hover.
Follow the step-by-step Bar Chart Tutorial to learn how this chart was built. See the Bar Chart documentation for all configuration options.