Book Image

Tableau Data Visualization Cookbook

By : Ashutosh Nandeshwar
Book Image

Tableau Data Visualization Cookbook

By: Ashutosh Nandeshwar

Overview of this book

<p>You know the feeling when you are asked to change or add a certain data point in your graph at the last minute. Usually, you have to scramble to complete the project and risk accuracy; this is not so with Tableau, however. Tableau is a revolutionary toolkit that lets you simply and effectively create high quality data visualizations.</p> <p>"Tableau Data Visualization Cookbook" will show you the exact steps required to generate simple to complex graphics. Whether they are pie charts or box plots, you can create such graphics with ease and confidence; no more searching for scripts or laborious Excel hacks. This book will help you make the most of Tableau and show you how to finish your projects quicker using this toolkit.<br />In this book you’ll start with getting your data into Tableau, move onto generating progressively complex graphics, and end with the finishing touches and packaging your work for distribution.</p> <p>This book is filled with practical recipes to help you create filled maps, use custom markers, add slider selectors, and create dashboards. You will learn how to manipulate data in various ways by applying various filters, logic, and calculating various aggregate measures. Then, we will create animated graphs and provide search box and drop-down selectors to users. This book will help you to create stunning graphics in very short amount of time.</p> <p>If you want to effortlessly create beautiful visualizations of data then "Tableau Data Visualization Cookbook" is for you!</p>
Table of Contents (16 chapters)
Tableau Data Visualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Changing marks sizes


Since we can tell differences in sizes easily compared to differences in colors, encoding data in various sizes of marks will increase the effectiveness of a graph. If the differences in data points are hard to observe, then a different type of visualization might be needed.

Getting ready

Let's use the sample file Sample – Superstore Sales (Excel). Open a new worksheet and select Sample – Superstore Sales (Excel) as the data source.

How to do it...

Once the data is loaded, perform the following steps to show marks sizes encoded by the values of an attribute:

  1. Drag-and-drop Sub-Category from Dimensions into the Rows shelf.

  2. Drag-and-drop Profit from Measures into the Columns shelf.

  3. Drag-and-drop Shipping Cost from Measures into the Size box in the Marks pane.

  4. Change the mark type to Shape to see the mark size vary by Shipping Cost.

  5. Click on the Size box to increase the size of shapes by dragging the visible slider. The final chart should look like the one in the following screenshot...