Tutorials for Learning Visualization in R

September 12, 2012
By

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

Today's guest post comes from Nathan Yau. Nathan runs FlowingData, a site on statistics and visualization, and is the author of Visualize This.

Calendar-sample1
Years ago, when I started FlowingData, the purpose of the blog was to catalog and think out loud about visualization, in its many varieties. In the beginning I was talking to myself for the most part, but people started to ask me how the stuff I posted was made. The more I blogged, the more people asked, so instead of replying to individual emails, I wrote tutorials that everyone (including me) could learn from. I found that — especially with visualization — step-by-step tutorials that provide immediate results encourage people to learn R more readily and makes it a lot easier pick up.

10-filled-contour-colors
Those who are interested in R for visualization often don't have programming experience. If you come from Microsoft Excel, you're used to pointing and clicking to get the graphs you want, and the idea of of variables and functions probably seems foreign. Ideally, you want to learn these concepts first, but practically speaking, most people need results in the near future, so a learn-as-you-go approach seems to work better. This year I started FlowingData memberships so I could spend more time writing tutorials. I have a mix of free and members-only tutorials that walk you through the process of visualizing data in R, along with JavaScript and design-focused software. You can also download source code for all the tutorials.

Featured-image1

My main hope is that the tutorials provide a good starting point for people to visualize their own data in whatever way they like. So I have tutorials on specific visualization types, such as calendar heat maps or area charts, but I've also written generalized tutorials on creating custom charts and working with color. For the former, I try to wrap up all the code in a function so that it can be used right away. With the latter, I try to relate back to the more specific visualization tutorials so that you can see how the generalizations apply. In the end, whatever route you choose to learn visualization, it comes down to practice. Reading books on design concepts is good to start with, but you don't get any better at visualization until you make stuff and apply what's in the book. That's where all the fun's at.

FlowingData: Tutorials

To leave a comment for the author, please follow the link and comment on his blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: ,

Comments are closed.