O'Reilly logo

Tableau Cookbook – Recipes for Data Visualization by Shweta Sankhe-Savale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Stacked Bar chart

A Stacked Bar chart is an extension of the bar chart where we use colors to represent additional information. These are typically used when we are trying to show a comparison within a particular category as well as across categories.

So, for example, in the previous recipe where we created a bar chart showing Sales across Region, we would additionally want to look at the performance of various product categories within a particular region and compare their performance across regions. To understand this, we will create a Stacked Bar chart.

How to do it…

  1. Let us duplicate the Bar chart sheet by right-clicking on the sheet tab of Bar chart and then selecting the Duplicate Sheet option. Refer to the following image:
  2. We will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required