GGPlot Cleveland Dot Plot
✓ Published0🌍 Public
CCliffordAnderson
Last edited Mar 31, 2014
Created on Mar 31, 2014
This ggplot2 example visualizes the distribution of words spoken by each character in Shakespeare’s *Much Ado about Nothing*, using a Cleveland dot plot. The chart maps character names on the y-axis (reordered by count) and word frequency on the x-axis, with points colored by gender. The code builds the plot with `ggplot()` and `geom_point()`, applies a black-and-white theme (`theme_bw()`), and customizes grid lines via `theme()` with `element_line()`. The data comes from a `shakes` data frame containing per-speaker word counts and gender attributes.
AI-generated description