Curriculum
Course: Data Analysis
Login
Text lesson

CREATING A BINS IN TABLEAU AND VISUALIZATION

Bins” is a feature in Tableau that allows you to group data into ranges, or “bins”. For example, you could use bins to group a set of numbers into bins that represent low, medium, and high values. This can be useful for visualizing data that has a large range of values, such as salaries.

Data from any discrete field can be used to create Tableau Bins. Generally, Tableau users leverage Measure Fields to create numeric bins. Bins are very useful in data analysis as they provide a systematic data range that allows users to organize information and discover patterns in an efficient manner.

Tableau Bins cannot be used in calculations and can only be created from relational databases. Also, when we create bins from Measure Fields, Tableau saves it as a new field because the bin contains data values that are not in the same format as the original measure field.

For example, suppose you want to plot a graph depicting sales against a range of ages ranging from 20 to 60. For doing that, you can create bins for age groups and analyze sales for each age group by using the bin functionality.

How to Create Tableau Bins?

Creating Tableau Bins is a fairly easy process. Follow the steps given below to create Tableau Bins:

Step 1: Navigate to the Data pane and right-click on the desired field or dimension from which you want to retrieve the data.

Step 2: Select the Create option and then click on Bins.

Step 3: Once you click on the Bins option, you will see a dialog box on your screen. You can either select the proposed field name or specify a different name for the new field.

Step 4: Now, enter a value in the Size of Bins field. You can also click on the Suggest Bin Size button to get a Bin Size recommendation from Tableau for the data set you’ve chosen.

Step 5: Once you have successfully entered all the required parameters to create a bin, click on the OK button to finish the setup.

Step 6: Now, head back to the Data Pane and you’ll see the Tableau Bins named Sales Bin under the list of fields.

NOTE the following;

Min; represents the minimum value for the field.

Max: It represents the maximum value for the field.

Diff: It represents the difference between the Min and Max fields.

CntD: It represents the total number of distinct values in the data.

 

CREATING STORY

The “Story” feature in Tableau is a great way to create a narrative with your data. You can use the Story feature to combine multiple dashboards into a single story, and you can add text to explain the story. This can be useful for creating a presentation or report with your data. To create a story, you’ll click the “New Story” button in the toolbar. You can then add your existing dashboards to the story and add text to explain each step.

Adding text to a story.

 First, you’ll click the “Text” button in the toolbar. Then, you’ll click on the canvas to place the text box. You can then type your text into the text box and format it however you like. You can also add multiple text boxes to a single step in the story.