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:
Requirements
- A text variable in your data set. Text variables are represented by an A next to the variable in the Data Sources 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 an A next to the variable in the Data Sources tree: and the raw data will show in tables created.
- a single-column table created from categorical data.
- 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 Data > 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 Data and select the table name.
Limitations
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.
Next
How to Create and Combine Words and Phrases in Word Clouds
How to Remove Words From a Word Cloud