1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Text Analysis in R

Exercise

Visualizing word counts with facets

The word_counts from the previous exercise have been loaded. Let's visualize the word counts for the Twitter data with separate facets for complaints and non-complaints.

Instructions

100 XP
  • Include a color aesthetic tied to whether or not its a complaint.
  • Don't include the legend for the column plot.
  • Facet by whether or not the tweet comes from a complaint and make the y-axis free.
  • Flip the coordinates and add a title: "Twitter Word Counts".