Word clouds help us visualize text in an interesting way. This article describes how to go from a table of text responses:
To a Word Cloud visualization:
- A text variable in your data set. Text variables are represented by a small a next to the variable in the Data Sets tree:, or
- A table with a single column of text data. The table can be created from:
- a text variable in your data set. Text variables are represented by a small a next to the variable in the Data Sets tree: and the raw data will show in tables created.
- a table created in a custom R Calculation or Pasted table of a list of text responses. Note this is only compatible with Method 2 below and you will not be able to interact with the word cloud afterwards.
NOTE: If you would like to create an interactive word cloud (i.e., remove words or combine words/phrases), you must use Method 2 below with a text variable as the Row input.
Method 1 - Convert a text output from table to chart
- Drag your text variable onto a Page to create a Raw Data table showing the verbatim responses.
- From the object inspector, go to Visualization > Text Analysis > Word Cloud.
Method 2 - Insert a word cloud visualization
- From the toolbar, go to Visualization > Text Analysis > Word Cloud.
- From the object inspector, go to Inputs > DATA SOURCE >
- If using a text variable from the data set, select it in the Rows field.
- If using a table of text responses, click into Output in Pages and select the table name.
Displayr will display the most common words in the Word Cloud, up to a maximum of 100 words. Given this, you may want to first tidy the text data before creating the Word Cloud, see How to Use Text Analytics to Tidy a Word Cloud.