Tableau Bins Chart – Create Bins in Tableau
Keeping you updated with latest technology trends, Join DataFlair on Telegram
1. Tableau Bins – Objective
In this Tableau tutorial, we are going to study what are bins in Tableau, how to create Tableau bins and it stepwise description. Along with this, we will cover Tableau Bins example.
So, let us start Tableau Bins Chart.
2. Tableau Bins Chart
Something is clearly wrong. It appears that graders may have bumped up students who were just shy of passing to barely passing. Histograms are very useful in catching anomalies similar to this.
Let’s say you’d like to create a histogram to show you a distribution of items according to the number of days it took to ship the item. Tableau includes the ability to easily create Tableau bins that makes creating histograms easy.
3. How to Create Bins in Tableau?
Here, are some steps to create a Tableau bins chart:
i. Decide the numeric field for which you’d like to see a distribution. In this case, use the drop-down menu for the Days to Ship calculated measure we created earlier and select Create Bins. Set the size of the bin to 1 in the resulting dialog box and click on OK:
Let’s Explore Tableau Dashboard in detail
ii. This creates a bin field, named Days to Ship (bin), under Dimensions in the data pane. Drag and drop this field on Columns. This gives you a column for each possible value of a number of days to ship.
iii. You’ll need to decide what you want to count for each bucket and place that on Rows. Do you want to know how many distinct customers fell into each bucket? Then you’d use customer ID or customer name aggregated as COUNTD. If you want to know how many total items fell into each bucket (and not just the unique ones) you could use a Count of Item ID or the Number of Records
Here is an example of a histogram showing the number of days to ship and how many items took that long:
Most items took anywhere from 0 to 2 days to ship, with a sharp decline in the number of items that took 3 or more days to ship.
Read about Tableau Bar Chart and Tableau Stacked Bar Chart in detail
iv. Histograms can be created very easily using Show Me. Simply select a single measure and then select Histogram from Show Me. It will create the bin and place the required fields in the view. You can adjust the size of a bin using the Edit option from the drop-down menu in the data pane.
This was all in Tableau Bins Chart. Hope you like our explanation.
Hence, in this tutorial, we learned about Tableau bins chart, how to create bins in tableau, a stepwise procedure to create them. Furthermore, if you have any query, feel free to ask in a comment section.
Related Topic- Create Word Cloud in Tableau