Data visualization tutorial in Processing

Posted to Software, Visualization  |  Nathan Yau

If you absolutely refuse to touch any code, I suggest Many Eyes or one of the fine FD sponsors, but if you’re looking to get your hands dirty, Processing is a great place to start.

Jer Thorp, whose work we saw not too long ago, posts this introduction tutorial for data visualization with Processing.

I’m going to start from scratch, work through some examples, and (hopefully) make some interesting stuff. One of the nice things, I think, about this process, is that we’re going to start with fresh, new data – I’m not sure what kind of things we’re going to find once we start to get our hands dirty. This is what is really exciting about data visualization; the chance to find answers to your own, possibly novel questions.

The examples are straightforward, the results are interesting, and most importantly, it gives you a lot to work off of with your own data and geometry. Hopefully it’s the first post of many.

Favorites

Years You Have Left to Live, Probably

The individual data points of life are much less predictable than the average. Here’s a simulation that shows you how much time is left on the clock.

Jobs Charted by State and Salary

Jobs and pay can vary a lot depending on where you live, based on 2013 data from the Bureau of Labor Statistics. Here’s an interactive to look.

Graphical perception – learn the fundamentals first

Before you dive into the advanced stuff – like just about everything in your life – you have to learn the fundamentals before you know when you can break the rules.

How You Will Die

So far we’ve seen when you will die and how other people tend to die. Now let’s put the two together to see how and when you will die, given your sex, race, and age.