For Excel users getting started with R, pain oftentimes finds its way into the learning process. Gordon Shotwell feels your pain and provides a primer to shifting to a different…
R

R for Excel users

Members Only
How to Edit R Charts in Adobe Illustrator
A detailed guide for R users who want to polish their charts in the popular graphic design app for readability and aesthetics.

Now over 10,000 packages in R
There are a lot of R packages, which is why before I implement any chart type myself, I look to see if someone already did it. Recently, the official R…

Members Only
How to Make an Animated Map in R, Part 4
In the the last part of the fourpart series, you make a longer animation with more data and annotate.

Interpolate your data for animation in R
The tweenr package in R, by Thomas Lin Pedersen, helps you interpolate data for easier animated transitions. tweenr is a small package that makes it easy to interpolate your data…

Members Only
Transitioning Map, Part 3: Animate Change Over Time
How to make a bunch of maps and string them together to show change.

Members Only
Transitioning Map, Part 2: Refining the Format and Layout
How to make a more readable and more visually accurate map, before you dive into the big transitions.

Majority minorities
We saw the changing percentage of white people in the United States and how whites are not the majority in a lot of places. Who is the majority in these…

R graph gallery
One of best ways to learn visualization in any given software is to look at examples and apply to your own data. The R graph gallery helps you with the…

Members Only
Transitioning Map, Part 1: Mapping Irregular Data with Interpolation in R
Rarely do you have evenlyspaced data across an entire geographic space. Here is a way to fill in the gaps.

Interactive charts in R
Interactive charts in R are still soso, but if you don’t mind giving up some flexibility and just want something quick without having to learn a new language, there are…

Tilegrams in R
Last month Pitch Interactive launched an online tool for tiled cartograms, or tilegrams for short. Upload your statebystate data, and it does the rest. Now you can make them in…

Learning R Versus d3.js for Visualization
For those who work with R and d3.js, the differences between the two are obvious. But for those who are brand new to this world, the names might as well…

Members Only
Quickfire HowTo for Visualizing Proportions in R
There are many ways to show parts of a whole. Here are quick oneliners for the more common ones.

Beeswarm Plot in R, to Show Distributions
Try the more elementbased approach instead of your traditional histogram or boxplot.

Members Only
How to Make Square Pie Charts in R
Instead of traditional pie charts that rely on angles and arc lengths to show parts of a whole, try this easiertoread version.

R in the data journalism workflow at FiveThirtyEight
R has found its way into a good number of news groups who do data journalism. Andrew Flowers for FiveThirtyEight talks about how they use the statistical computing language throughout…

Members Only
Annotating Charts in R
Let the data speak for itself they say. That doesn't work a lot of the time, and when that happens, you need to explain.

5 Tips for Learning to Code for Visualization
Here are some tips to get you started, based on my own experiences with R, and more recently, the JavaScript library d3.js.

A Crash Course for Visualizing Time Series Data in R
Learn to visualize temporal patterns in a couple of days.

Members Only
Drawing Lines and Segments in R
Show connections and changes over time with start and end points.

Members Only
Drawing Circles and Ellipses in R
Whether you use circles as visual encodings or as a way to highlight areas of a plot, there are functions at your disposal.

Members Only
Drawing Squares and Rectangles in R
R makes it easy to add squares and rectangles to your plots, but it gets a little tricky when you have a bunch to draw at once. The key is to break it down to the elements.

Voronoi Diagram and Delaunay Triangulation in R
The
deldir
package by Rolf Turner makes the calculations and plotting straightforward, with a few lines of code. 
Comparing ggplot2 and R Base Graphics
Figure out which is best with a sidebyside comparison.

Members Only
Adding Legends in R
Make sure you explain your visual encodings so that others can interpret them.

Emergency room data in R
For my graphic on emergency room visits over time and the other on things that get stuck, I used data from the National Electronic Injury Surveillance System, which is maintained…

Members Only
How to Customize Axes in R
For presentation purposes, it can be useful to adjust the style of your axes and reference lines for readability. It's all about the details.

R growth on StackOverflow reigns supreme
Joshua Kunst did a quick analysis on tag usage on StackOverflow, the question and answer site for programming. The R tag isn’t the top of course, but it is growing…

Members Only
Animated Pyramid Chart in R
Make a bunch of charts, string them together like a flip book, and there's your animation. Sometimes good for showing changes over time. Always fun to play with.