Creating a stacked bar chart
Stacked bar charts, like regular bar charts, represent numeric values as segmented bars, and each bar is a specific, distinct category. The segments in the bar that are stacked on top of each other represent related values, and the total length of the bar represents the cumulative total of the related values for that category.
In this recipe, we will create a stacked bar chart that represents the top movies by year, further segmented by genre.
Getting ready
To follow this recipe, open B05527_01 – STARTER.twbx
. Use the worksheet called Stacked Bar, and connect to the HollywoodMostProfitableStories data source.
How to do it... ...
Get Tableau 10 Business Intelligence Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.