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.
To access this full tutorial and download the source code you must be a member. (If you are already a member, log in here.)
Gain instant access to step-by-step visualization courses and tutorials for insight and presentation — all while supporting an independent site. Source code and data is included so that you can more easily apply what you learn in your own work.
Members also recieve a weekly newsletter, The Process, which looks more closely at the tools, the rules, and the guidelines and how they work in practice.
See samples of everything you gain access to:
More Tutorials See All →
Mapping With Shapefiles in R – Getting Started
Geographic data is often available as a shapefile, and there’s plenty of heavy software to get that data in a map. R is an open source option, and as a bonus, much of the work can be done in a few lines of code.
How I Made That: Searchable Time Series Chart
When there are too many options or categories, it can be helpful to make the data searchable.
How to Visualize Proportions in R
There are many ways to show parts of a whole. Here are quick one-liners for the more common ones.