Description Usage Arguments Value
Create a numeric choropleth
1 2 3 4 5 6 7 8 | create_base_plot_num(
choropleth_data,
min_color,
max_color,
na_color,
unit_text,
iceland
)
|
choropleth_data |
An sf object with the numerical data in column
|
min_color |
A color for the minimum values. |
max_color |
A color for the maximum values. |
na_color |
Defaults to |
unit_text |
Defaults to |
iceland |
A logical variable to show Iceland on the map. |
A ggplot object containing the choropleth map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.