Tableau Word Cloud

Tableau Word Cloud is useful for visualizing text data where the size of each word is proportional to its frequency. For example, Suppose you are looking for Top trending Hashtags on Twitter, the Most commonly used Tags on a Website, or any other CMS. In that case, you see a few names with a brighter color, some with a light color, and there will be a significant change in Font Size. It is possible by using the Tableau Word Cloud.

In real-time, if you want to transform unstructured text data into a meaningful visualization that helps the end users understand the patterns, you can use the Tableau Word Cloud. It displays the most frequently occurring words in larger and bolder fonts, while less common words are in smaller fonts.

This article will show you How to Create a Tableau Word Cloud. For this demo, we write SQL Adventures Works DW data source.

How to create a Word Cloud in Tableau?

This kind of chart is typically used to depict keyword metadata tags. In this example, we create a Tableau Word Cloud for the State dimension against the Sales Amount size. The desktop provides a native feature to create this kind of chart.

Step 1: Add Fields to Text and Size Shelf

To create a Tableau Word Cloud, Drag and Drop the State (Words) from Dimension Region to Text Field in the Marks card to see the available State names in this report. Next, Drop the Sales Amount from the Measures Region to the Size Field in the Marks card.

Add State Measure to Text and Sales to Size shelf

Step 2: Automatically Created Treemap

Once the Sales Aoumt is added to the Size shelf, the Tableau Desktop displays TreeMap by default. For more Charts, Click Here.

Automatically created Treemap

3rd Step: Convert Treemap to Word Cloud

To change the Default TreeMap to Word Cloud in Tableau, we have to change the default Automatic option on the Marks card. Please expand the drop-down list and change the mark type from Automatic to Text.

Once you change, Word Cloud displays State Name as the Text field and Sum of Sales Amount as the text size. See that the Font Size of California State is bigger than the remaining states because the Sales Amount is higher than in other states.

Change the mark type from Automatic to Text

Add Colors to Tableau Word Cloud

Let us add color to the Word Cloud. We can do this by dragging the Sales Amount to the Colors field in the Marks card.

Add Colors to Tableau Word Cloud

To change Word Cloud Colors, we replaced the Sales Amount in the Color shelf with the Sum of the Order Quantity. Now, Tableau Word Cloud will display the state names with the highest orders filled with Dark Blue and the Least orders in light blue. Next, click the Color shelf and press the Edit Colors.. button to change the Word Cloud colors. Here, we have chosen the Red-Green-Gold Diverging color with 10 steps.

Edit Tableau Word Cloud Colors

After the completion, the screenshot below will display the Final Tableau Word Cloud Preview. The frequency of the State names with Maximum orders filled with Dark Green and Least orders with Red color.

Tableau Word Cloud Preview

How to Add Filters to Tableau Word Cloud?

Apart from creating a static word cloud report, you can add interactivity by adding filters. Drag and drop the Country Dimension to the Filters shelf, which will open the following window. To demonstrate, Let me select All and click the OK button to add Measure Filter from the list.

Dang the Country to Filters Shelf to add Filters

Next, you have to click the down arrow beside the Country and select the Show Filter option to display the list of available fields on the right side of the chart.

Show Filters on Tableau Word Cloud

You can select or deselect the required Country names, which will replicate in the Word Cloud. The following screenshot shows the state-wise sales of Australia, Canada, Germany, the United States, and the United Kingdom. You can experiment by unchecking a few more countries.

Tableau Word Cloud with filters