Learning to Data

Tutorials, Books, and Guides


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.

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.

Adding Legends in R

Make sure you explain your visual encodings so that others can interpret them.

How to Make an Interactive Stacked Area Chart

Stacked area charts let you see categorical data over time. Interaction allows you to focus on specific categories without losing sight of the big picture.

See All Tutorials »

Guides and Tips

  • Bivariate choropleth how-to

    Your standard choropleth map shows geographic areas colored by a single variable. You’re reading this, so you’ve seen them before. …

  • Naked Statistics

    Naked Statistics by Charles Wheelan promises a fun, non-boring introduction to statistics that doesn’t leave you drifting off into space, …

  • Learn the rules of data graphics so you can bend them

    If you take away anything from The Visual Display of Quantitative Information, make it the epilogue. This is the most …

More guides »