Tableau Histogram – How to Create Histogram in Tableau
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.
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.
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.
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.
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.
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:
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