Build Statistical Graphics Online With ggplot2

Statisticians are generally behind the times when it comes to online applications. There are a lot out-dated Java applets and really rough attempts at getting R, a statistical computing environment, in some useful form through a browser. So imagine my surprise when I tried this tool by Jeroen Ooms, a visiting scholar at UCLA Statistics.

It actually works pretty well, and for a prototype, it isn't half bad.

Statistical Graphics as Layers

The engine behind Jeroen's tool is Hadley Wickham's ggplot2, an R implementation of of Leland Wilkinson's Grammar of Graphics. Yes, it's a big chain of events.

Those who use Adobe products, like Illustrator or Photoshop, are familiar with the idea of layers in your graphics.

Without going into all the details, the main idea is that statistical graphics are made up of layers. There's the data, axes, and the plot. You can do this in R with the ggplot2 library, or, with this tool, you can upload data and specify the layers through the clickety interface.

Here's a short demo of ggplot in action:

5 Comments

Favorites

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.

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.

Reviving the Statistical Atlas of the United States with New Data

Due to budget cuts, there is no plan for an updated atlas. So I recreated the original 1870 Atlas using today’s publicly available data.

The Most Unisex Names in US History

Moving on from the most trendy names in US history, let’s look at the most unisex ones. Some names have …