Foreign ncov map
1 2 3 4 5 6 7 8 9 | plot_foreign_map(
ncov,
country,
key = c("confirmedCount", "suspectedCount", "curedCount", "deadCount"),
bins = c(0, 10, 100, 500, 1000),
legend_title = "Confirmed",
legend_position = c("bottomright", "topright", "bottomleft", "topleft"),
color = "Reds"
)
|
ncov |
ncov data |
country |
country name |
key |
the feature to plot |
bins |
a numberic vector to cut the value to format the value to |
legend_title |
legend title |
legend_position |
legend position |
color |
color palette |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.