View source: R/plot_ctr_treemap.R
| plot_ctr_treemap | R Documentation | 
Tree map of Population Groups within a country
plot_ctr_treemap(
  year = 2021,
  country_asylum_iso3c = country_asylum_iso3c,
  pop_type = pop_type
)
| year | Numeric value of the year (for instance 2020) | 
| country_asylum_iso3c | Character value with the ISO-3 character code of the Country of Asylum | 
| pop_type | Vector of character values. Possible population type (e.g.: REF, IDP, ASY, OIP, OOC, STA) | 
a ggplot2 object
# 
plot_ctr_treemap(year = 2021,
                            country_asylum_iso3c = "USA",
                            pop_type = c("REF", "ASY")
         )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.