Word clouds help us visualize text in an interesting way. Displayr's built-in Word Cloud feature can also be modified interactively (where you can click and select words in the cloud) if you use a text variable from a Data Set to create it, see How to Create and Combine Words or Phrases and How to Remove Words. If you are using a pasted or table created via R, you must edit the input table directly to modify words shown. There are further customizations, such as changing colors, explained in the Notes section below. This article describes a couple methods for how to go from 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.
- a text variable in your data set. Text variables are represented by an A next to the variable in the Data Sources tree:
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.
Notes
Changing the colors or font in a word cloud must be done in the Page Master (as word clouds use the defaults of the document). From the toolbar click on More tools > View Page Master, go to the Title and Content page, select the chart, and adjust the settings in the chart's object inspector > Appearance menu.
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 to combine synonyms and remove connector, stop words, etc... see How to Use Text Analytics to Tidy a Word Cloud for more detail.
Next
How to Create and Combine Words and Phrases in Word Clouds
How to Remove Words From a Word Cloud