Tableau Histogram – How to Create Histogram in Tableau

1. Objective

We discuss Tableau Gantt chart in our previous article, in this Tableau tutorial, we are going to study what Tableau Histogram is and how to create Histogram in Tableau with proper examples.
So, let us start Tableau Histogram.

Tableau Histogram

Introduction to Tableau Histogram

2. Tableau Histogram

Histograms are graphs that plot frequency distribution of data.
Read about How to Create Tableau Waterfall Chart in detail
In this recipe, we will create a Tableau 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.

Tableau Histogram Example

Tableau Histogram Example

3. How to Create Histogram in Tableau

i. Under Measures, right-click on Height (in) and select Create and then Bins….
How to Create Tableau Donut Chart in detail
ii. 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 sidebar.

Step 2. Create Histogram in Tableau

Step 2. Create Histogram in Tableau

iii. Under Dimensions, right-click on Height (in) (bin) and select Aliases…
iv. 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.

Step 4. Create Histogram in Tableau

Step 4. Create Histogram in Tableau

v. Create another bin for Weight (lbs) under Measures. Set this size to 10. This will create a new discrete field called Weight (lbs) (bin) under the Dimensions section of the sidebar.
How to create Bubble Chart in Tableau in detail
vi. From Dimensions, drag Year to the Filters shelf and filter to 2009.
vii. From Dimensions, drag League to the Filters shelf, and filter to N.

Step 7. Create Histogram in Tableau

Step 7. Create Histogram in Tableau

viii. From Dimensions, drag Height (in) (bin) to Columns.
ix. From Dimensions, drag Weight (lbs) (bin) to Columns, to the right of Height (in) (bin).
x. From Dimensions, right-click and drag Player ID to Rows. This will open up a new window showing all possible values that can be added.
Let’s read about Tableau Text Table | Tableau Crosstab in detail
xi. Choose CNTD(Player ID), which means the number of unique players.
Right-click on the highest marks in the 75-79 lbs and 80-84 lbs bins, and choose Annotate and then Mark. Display the height, weight, and # of NBA players in these highest marks, as shown here:

Create Histogram in Tableau

Step 11. Create Histogram in Tableau

4. Conclusion

In this tutorial, we learned about what is Tableau histogram and how to Make histogram in tableau. This will help us study and work well with the software. Furthermore, if you have any query, feel free to ask in a comment section.
See Also- Steps to Build Scatter Plot in Tableau
For reference

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.