This page follows the chart #305 which describes the basic process to make a one level circle packing chart.

 

The main customisations that we can apply concern color. The chart on the left shows how to pick up a different colour palette. Note that you probably want to visit the ggplot2 section to learn more about that. The chart on the right shows how to map a color to a value.

 

Note that we can also customise labels and background for a nice looking result:

 

Here is the code for these 3 circle packing charts:

 

Related


 

 

Make a search


 

 


1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Charlie Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Charlie
Guest
Charlie

Total noob here – have managed to get this working, but wanting to understand how to load my own data in? I have two columns, city name and population size…