News

Note that I saved everything except the original graph’s first ggplot () line of code to the custom geom. Here’s how simple it is to use that new geom: ...
Annotate ggplot with text labels using built-in functions and create non-overlapping labels with the ggrepel package.
Off the Charts is a weekly, subscriber-only guide to The Economist ’s award-winning data journalism and the ideas, processes and tools that go into creating it. Sign up for Off the Charts.