How to Use Packed Circles in R
Adjust coordinates, geometries, and encodings with packed circles to make various types of charts.
Circle packing in visualization is a way to arrange circles in a fixed space so that none of the circles overlap, and if you were to increase the radius of any circle, it’d overlap with a neighbor. This can be a useful method to have in your toolbox to make various types of charts or to make existing charts more readable.
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 →
R Cheat Sheet and Guide for Graphical Parameters
You can customize graphics in R with
par(), but the docs are mostly text and just organized alphabetically. Here is a more visual reference, categorized by what you can change. Plus, a one-page printout.
A Course for Visualizing Time Series Data in R
Learn to visualize temporal patterns in a couple of days.
Calendar Heatmaps to Visualize Time Series Data
The familiar but underused layout is a good way to look at patterns over time.