Tufte style charts in R

Posted to Coding  |  Tags: , ,  |  Nathan Yau

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

Real Chart Rules to Follow

There are rules—usually for specific chart types meant to be read in a specific way—that you shouldn’t break. When they are, everyone loses. This is that small handful.

Think Like a Statistician – Without the Math

I call myself a statistician, because, well, I’m a statistics graduate student. However, the most important things I’ve learned are less formal, but have proven extremely useful when working/playing with data.

How to Spot Visualization Lies

Many charts don’t tell the truth. This is a simple guide to spotting them.

Interactive: When Do Americans Leave For Work?

We don’t all start our work days at the same time, despite what morning rush hour might have you think.