This page aims to describe how to hide the first levels of the hierarchy of your circle packing. I personally do not like to display the big circle that surrounds the whole chart (level 0, origine). This circle does not provide any information, so here is a little trick to hide it. I simply specify a white color for it!






A related problem consists to add labels for one specific level only. For example, if you want to display the names of group of level2, but not of level 3 to avoid cluttering the chart.


The trickiest part of this problem is to determine the level of each node from your edge data frame. Fortunately, the data.tree library is here to help us:









Make a search



Leave a Reply

Notify of