provmap | R Documentation |
This function creates a choropleth map for Spanish provinces
provmap(data, a, color)
data |
A dataframe containing the variable assigned to each province |
a |
A vector specifying the breakpoints of the desired choropleth intervals |
color |
A ColorBrewer sequential palette |
provmap(data, c(0, 10, 20, 30, 40), "Reds")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.