Members Only
Tutorials  / 

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.

To access this tutorial you must be a member. (Already a member? Log in here.)

Membership

Support an independent site. Get instant access to this tutorial and more with a monthly or annual membership.

Members have access to 100+ in-depth tutorials and courses, in addition to other practical visualization resources. Instructions are step-by-step to guide you towards data graphics that can be used in exploratory data analysis and in presentation. (They are not the same.)

To make the learning process as approachable as possible, tutorials include source code and datasets, and if you get stuck or want visualization advice, ask questions at the end of tutorials or in the members-only forum.

More details and perks of membership here.