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.
R
-
Getting Started with Charts in R
-
Link
Finding image color palettes in R →
Use k-means to find most used colors
-
Link
Rcpp →
Write C++ code and easily connect with R for more speed [via]
-
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…
-
Link
Watching Sandy in R →
Code to make a hurricane map [via]
-
xkcd-style charts in R, JavaScript, and Python
The ports and packages to make your charts look like they came from…
-
Link
R Programming Efficiency →
Slidedeck on how to write more efficient code
-
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
How to Make Stacked Area Charts in 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.
-
Link
HiveR →
-
Link
Padding a Time Series in R →
Script to fill in the gaps between unevenly spaced points
-
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…
-
How to Visualize and Compare Distributions in R
Single data points from a large dataset can make it more relatable, but those individual numbers don’t mean much without something to compare to. That’s where distributions come in.
-
Members Only
How to Make a Sankey Diagram to Show Flow
These tend to be made ad hoc and are usually pieced together manually, which takes a lot of time. Here’s a way to lay the framework in R, so you don’t have to do all the work yourself.
-
A century of ocean shipping animated
Using hand-recorded shipping data from the Climatological Database for the World’s Oceans, history…
-
Link
Functional Programming in R →
Improve code performance, knowing what R is actually doing [via]
-
Members Only
Calendar Heatmaps to Visualize Time Series Data
The familiar but underused layout is a good way to look at patterns over time.