Tableau Word Cloud

Tableau Word Cloud is useful for visualizing text data. For example, If you are looking for Top trending Hashtags on Twitter or Most commonly used Tags on a Website or any other CMS, you see a few names with a brighter color, some with light color, and there will be a significant change in Font Size. It is possible by using the Word Cloud.

In this article, we will show you How to Create a 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 Word Cloud for the State dimension against the Sales Amount size.

The desktop provides a native feature to create this kind of chart. First, Drag and Drop the State Dimension from Dimension Region to Text Field in the Marks card. See the available State names in this report.

Add Dimension to Text Card 2

Next, Drop the Sales Amount from Measures Region to Size Field in the Marks card to create a Word Cloud.

Add Measure Value to Size Shelf

By default, Tableau Desktop is displaying Tree Map

Tree Map

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

Change the mark type from Automatic to Text

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

Tableau Word Cloud 6

Add Colors

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

Drag a Measure to Color Shelf to Add Colors

After the completion, the below screenshot will display. The frequency of the State names with Maximum Sales fills with Dark Green and Least Sales Amount with light green.

Tableau Word Cloud with different colors 8

We replaced the Sales Amount in Color with Sum of Profits. Now, Tableau Word Cloud will display the state names with the highest Profits will be filled with Dark Green and Least Profits with light green.

Add Profit dimension to Color 9

What will happen If we replace the State Name in Word Cloud with the English Product name?. As you see, English Product Name with Maximum Sales with Dark Green and Least Sales Amount with light green.

Add tooltip for Tableau Word Cloud