Treemap with multiple levels

I'm trying to make a treemap with many subgroups in ggplot2. I found this treemap https://datavizcatalogue.com/methods/treemap.html but they dont show how to do with it with R ?

The treemapify package does this

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.