Chapter 8. Visualizing Text and XKCD-style Plots
In this chapter, we will cover the following recipes:
- Generating a word cloud
- Constructing a word cloud from a document
- Generating a comparison cloud
- Constructing a correlation plot and a phrase tree
- Generating plots with custom fonts
- Generating an XKCD-style plot
Introduction
Technology has allowed us to digitize text, and this has led to the development of tools to analyze and visualize information stored in text. One of the questions that comes to our mind is how do we utilize the information stored in text. The following are some of the applications and examples of visualization:
- Visualizing text provides us with information, trends, and changing patterns in literature
- Visualizing Twitter feeds can help ...
Get R: Recipes for Analysis, Visualization and Machine Learning now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.