# demonstrate default options
data(df_pop_country)
country_choropleth(df_pop_country, "2012 World Bank Populate Estimates")
# demonstrate continuous scale
country_choropleth(df_pop_country, "2012 World Bank Populate Estimates", num_colors=1)
# demonstrate zooming
country_choropleth(df_pop_country,
"2012 World Bank Population Estimates",
num_colors=1,
zoom=c("united states of america", "canada", "mexico"))
Run the code above in your browser using DataLab