Book Image

The Tableau Workshop

By : Sumit Gupta, Sylvester Pinto, Shweta Sankhe-Savale, JC Gillet, Kenneth Michael Cherven
Book Image

The Tableau Workshop

By: Sumit Gupta, Sylvester Pinto, Shweta Sankhe-Savale, JC Gillet, Kenneth Michael Cherven

Overview of this book

Learning Tableau has never been easier, thanks to this practical introduction to storytelling with data. The Tableau Workshop breaks down the analytical process into five steps: data preparation, data exploration, data analysis, interactivity, and distribution of dashboards. Each stage is addressed with a clear walkthrough of the key tools and techniques you'll need, as well as engaging real-world examples, meaningful data, and practical exercises to give you valuable hands-on experience. As you work through the book, you'll learn Tableau step by step, studying how to clean, shape, and combine data, as well as how to choose the most suitable charts for any given scenario. You'll load data from various sources and formats, perform data engineering to create new data that delivers deeper insights, and create interactive dashboards that engage end-users. All concepts are introduced with clear, simple explanations and demonstrated through realistic example scenarios. You'll simulate real-world data science projects with use cases such as traffic violations, urban populations, coffee store sales, and air travel delays. By the end of this Tableau book, you'll have the skills and knowledge to confidently present analytical results and make data-driven decisions.
Table of Contents (12 chapters)
Preface

Exploring Composition Snapshots – Stacked Bar Charts

A stacked bar chart is nothing but a bar chart with an extra level of detail embedded in the bars, where each bar represents distinct dimensions/values. Stacked bar charts come in handy when you want to compare the whole to a segment of the dimensions/value, which are essentially smaller segments of the same bar. Think of the revenue generated by a car company: as an analyst, you want to show the revenue split by car/product type in a single bar graph without using too much space. By color-coding the bar chart with the car type, you can create a single graph with lots of contextual detail.

Think of stacked bar charts as showing totals against parts:

Figure 4.32: Sample stacked bar chart

Try your hand at creating a stacked bar chart with the next exercise.

Exercise 4.06: Creating a Stacked Bar Chart

In this new request from your direct manager, they want to look at sales by sub-category in...