Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tableau 2019.x Cookbook

You're reading from   Tableau 2019.x Cookbook Over 115 recipes to build end-to-end analytical solutions using Tableau

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789533385
Length 670 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (6):
Arrow left icon
Tania Lincoln Tania Lincoln
Author Profile Icon Tania Lincoln
Tania Lincoln
Slaven Bogdanovic Slaven Bogdanovic
Author Profile Icon Slaven Bogdanovic
Slaven Bogdanovic
Teodora Matic Teodora Matic
Author Profile Icon Teodora Matic
Teodora Matic
Rintaro Sugimura Rintaro Sugimura
Author Profile Icon Rintaro Sugimura
Rintaro Sugimura
Dmitry Anoshin Dmitry Anoshin
Author Profile Icon Dmitry Anoshin
Dmitry Anoshin
Dmitrii Shirokov Dmitrii Shirokov
Author Profile Icon Dmitrii Shirokov
Dmitrii Shirokov
+2 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Getting Started with Tableau Software 2. Data Manipulation FREE CHAPTER 3. Tableau Extracts 4. Tableau Desktop Advanced Calculations 5. Tableau Desktop Advanced Filtering 6. Building Dashboards 7. Telling a Story with Tableau 8. Tableau Visualization 9. Tableau Advanced Visualization 10. Tableau for Big Data 11. Forecasting with Tableau 12. Advanced Analytics with Tableau 13. Deploy Tableau Server 14. Tableau Troubleshooting 15. Preparing Data for Analysis with Tableau Prep 16. ETL Best Practices for Tableau 17. Other Books You May Enjoy

Building a bar chart using Show Me

In this recipe, we will build a bar chart using Show Me. The Show Me option is a handy way to get started with building Tableau visualizations. To make a visualization, you don't need to know exactly how to do it, you just need to know what fields from your data source you would like to include in it. Tableau will suggest the appropriate visualizations.

Getting ready

To complete this recipe, you need to connect to the Baby_names.csv dataset and open a new blank worksheet.

How to do it...

We will now create the bar chart using the Show Me option, while referring to the given steps.

Creating a chart using Show Me

  1. Hold the Ctrl key on your keyboard, then on State under Dimensions, and then choose Frequency under Measures.
  2. Release the Ctrl key and click on Show Me in the top-right corner of the workbook:
  1. A menu will open, offering various visualizations that are suitable for your data. Choose horizontal bars. You have just created your first visualization! Now, let's make it tidier and easier to read:

Sorting the chart

  1. Hover over the State pill in the Rows shelf so that a white arrows appears on it. Click on the arrow and select Sort...:
  1. Under Sort order, choose Descending.

  1. Under Sort by, select Field:

  1. Click on OK. The states are now sorted in descending order, by the value of Frequency, as follows:

How it works...

Tableau classifies the fields from a data source you connect to into two main types:

  • Dimensions: This section includes qualitative and categorical values, such as dates, strings, or geographical data
  • Measures: This section includes quantitative and numerical values

Measures and Dimensions can be both continuous, which means that they add axes to a view, and discrete, meaning they add field headers to a view. Continuous fields are marked with a green color, and discrete are marked with blue. However, you will notice that Measures are mostly continuous, while Dimensions are discrete:

When you select some measures and dimensions and click on Show Me, Tableau presents you with a range of basic visualizations that require the particular combination of measures and dimensions you selected.

There's more...

When you connect to a data source, Tableau automatically assigns type (measure or dimension) to each field in your data source. However, you can always change them manually by right-clicking on the field name under Measures/Dimensions and selecting Convert to Dimension / Convert to Measure:

See also

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime