Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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 10 Business Intelligence Cookbook

You're reading from   Tableau 10 Business Intelligence Cookbook Create powerful, effective visualizations with Tableau 10

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781786465634
Length 476 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Donabel Santos Donabel Santos
Author Profile Icon Donabel Santos
Donabel Santos
Paul Banoub Paul Banoub
Author Profile Icon Paul Banoub
Paul Banoub
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Basic Charts FREE CHAPTER 2. Advanced Charts 3. Interactivity 4. Dashboards and Story Points 5. Maps and Geospatial Visualization 6. Analytics 7. Data Preparation A. Calculated Fields Primer B. Resources Index

Creating a histogram


Histograms are graphs that plot frequency distribution of data.

In this recipe, we will create a histogram that will visualize what the most common heights and weights are of NBA players, based on a 2014 NBA player's stats data source.

Getting ready

To follow this recipe, open B05527_02 – STARTER.twbx. Use the worksheet called Histogram, and connect to the Player Stats (NBA Players Regular Season 2009) data source.

How to do it...

The following are the steps to create the histogram in this recipe:

  1. Under Measures, right-click on Height (in) and select Create and then Bins….

  2. Set the bin size to 5, and click OK when done. This will create a new discrete field called Height (in) (bin) under the Dimensions section of the side bar.

  3. Under Dimensions, right-click on Height (in) (bin) and select Aliases....

  4. Change the alias values of the Member items to the following. To edit the alias, simply click on the Value (Alias) field and that field will become editable.

  5. Create another bin for...

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 $19.99/month. Cancel anytime