How to Draw and Use Polygons in R
R provides functions for basic shapes, but you can also draw your own for maximum fun.
You can use straightforward functions in R to draw certain shapes, such as circles, squares, and rectangles. However, sometimes you need to draw a more complicated shape or one that’s based on data.
To access this full tutorial, you must be a member. (If you are already a member, log in here.)
You will get unlimited access to step-by-step visualization courses and tutorials for insight and presentation — all while supporting an independent site. Files and data are included so that you can more easily apply what you learn in your own work.
Learn to make great charts that are beautiful and useful.
Members also receive a weekly newsletter, The Process. Keep up-to-date on visualization tools, the rules, and the guidelines and how they all work together in practice.
See samples of everything you gain access to:
More Tutorials See All →
3-D Printing: How to Prepare the Data in R
Moving your data from the digital screen to something more physical isn’t as tricky as it seems. Here’s how I did it.
How to Hand Edit R Plots in Inkscape
You can control graph elements with code as you output things from R, but sometimes it is easier to do it manually. Inkscape, an Open Source alternative to Adobe Illustrator, might be what you are looking for.
How to Make Frequency Trails in Excel
Also known as ridgelines, use the method to create a compact visualization where you can easily identify major patterns and outliers.