# R

• ## How to Read and Use Histograms in R

The chart type often goes overlooked because people don't understand them. Maybe this will help.

• ### Interactive maps with R

You can make static maps in R relatively well, if you know what…

• ## Where People Run in Major Cities

There are many exercise apps that allow you to keep track of your…

• ### How R came to be

Statistician John Chambers, the creator of S and a core member of R,…

• ### Learn R interactively with the swirl package

R, the statistical computing language of choice and what I use the most,…

• Members Only

## How to Map Geographic Paths in R

As people and things move through a place, it can be useful to see their connected paths instead of just individual points.

• ### Introducing R to a non-programmer, in an hour

Biostatistics PhD candidate Alyssa Frazee was tasked with teaching her sister, an undergraduate…

• ## The Baseline and Working with Time Series in R

A big part of statistics is comparisons, and perhaps more importantly, to figure out what to compare things to. Perspective changes with the baseline.

• ### Accidental aRt

There comes a time late at night when your screen grows fuzzy and…

• Members Only

## How to Display Text in R

Text can provide much needed context to traditional visual cues and can be used as a visual cue itself in some cases.

• ### R plotting package ggplot2 ported to Python

Those who use the ggplot2 package in R and do everything else in…

• Members Only

## Working with Line Maps, the Google Places API, and R

A frequent challenge of visualization is behind the scenes, to get the data and to mold it into the format you need. Do that. Then map.

• Members Only

## How to Make a Connected Scatter Plot

The combination of a time series chart and a scatter plot lets you compare two variables along with temporal changes.

• ### Introduction to R, a video series by Google

Google released a 21-part short video series that introduces R. Most of the…

• Members Only

## Small Maps and Grids

Maybe you want to make spatial comparisons over time or across categories. Organized small maps might do the trick.

• ### Beer recommendation system in R

Using data from Beer Advocate, in the form of 1.5 million reviews, yhat…

• Members Only

## How to Make Slopegraphs in R

Also known as specialized or custom line charts. Figure out how to draw lines with the right spacing and pointed in the right direction, and you've got your slopegraphs.

• Members Only

## Small Multiples in R

Make a lot of charts at once, line them up in a grid, and you can make quick comparisons across several categories.

• Members Only

## How to Make an Animated Growth Map in R

Although time series plots and small multiples can go a long way, animation can make your data feel more real and relatable. Here is how to do it in R via the animated GIF route.

• Members Only

## Using Transparency in R to Improve Clarity

When you plot a lot of data at once, points and lines can obscure others and hide patterns. Transparency can help reveal what is really there.

• ### Data Analysis (with R) on Coursera

Jeff Leek, an Assistant Professor of Biostatistics at the Johns Hopkins Bloomberg School…

• ## Getting Started with Charts in R

You get a lot of bang for the buck with R, charting-wise, but it can be confusing at first, especially if you've never written code. Here are some examples to get started.

• ### Archive of datasets bundled with R

R comes with a lot of datasets, some with the core distribution and…

• ### Shiny allows web applications with R

RStudio, the folks behind the IDE for R released last year, continues to…

• ### xkcd-style charts in R, JavaScript, and Python

The ports and packages to make your charts look like they came from…

• Members Only

## More on Making Heat Maps in R

You saw how to make basic heat maps a while back, but you might want more flexibility for a specific data set. Once you understand the components of a heat map, the rest is straightforward.

• Members Only

## Mapping with Diffusion-based Cartograms

Sometimes these cartograms can distort areas beyond recognition, but they can also provide a better visual representation for a region with a wide range of subregions. At the least, they're fun to look at.

• Members Only

## A Variety of Area Charts with R

From the basic area chart, to the stacked version, to the streamgraph, the geometry is similar. Once you know how to do one, you can do them all.

• Members Only

## How to Draw in R and Make Custom Plots

When base graphics and existing packages don't do it for you, turn to low-level graphics functions to make what you want.

• ## Resources for Getting Started with R

R, the open source statistical software environment, is powerful but can be a…