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.)
Get instant access to this tutorial and hundreds more, plus courses, guides, and additional resources.
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 →
How to Make Smoothed Density Maps in R
Too many points to plot often means obscured patterns in the clutter. Density maps offer a smooth alternative.
How to Make an Animated Pyramid Chart with D3.js
Compare distributions side-by-side with a pyramid chart. Observe the change over the years by animating it.
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.