Tufte style charts in R

Aug 4, 2015

Lukasz Piwek is chipping away at a collection of Tufte-style charts using R, along with the code snippets. Fittingly, the project is called Tufte in R. The Tufte stuff is nice and all, but that’s not why I like this project. Two reasons.

The first is that there’s a misconception that R charts have to look a certain way. I already showed how that’s not the case, and it’s nice to see it from another angle.

The second reason is that Piwek makes each chart using the three main graphical systems in R: base, lattice, and ggplot2, showing the flexibility that all three allow. At the end of the day, these are tools, and if you know what you’re doing, you can make what you want. [Thanks, Lukasz]

Favorites

Visualizing the Uncertainty in Data

Data is an abstraction, and it’s impossible to encapsulate everything it represents in real life. So there is uncertainty. Here are ways to visualize the uncertainty.

Divorce and Occupation

Some jobs tend towards higher divorce rates. Some towards lower. Salary also probably plays a role.

Life expectancy changes

The data goes back to 1960 and up to the most current estimates for 2009. Each line represents a country.

Top Brewery Road Trip, Routed Algorithmically

There are a lot of great craft breweries in the United States, but there is only so much time. This is the computed best way to get to the top rated breweries and how to maximize the beer tasting experience. Every journey begins with a single sip.