Description Usage Arguments Details
Use ggplot2 to draw a map and fill regions of the map based on values in a dataframe.
1 2 3 4 |
x |
data frame with fill values and bubble sizes |
map |
a map of type |
fill |
name of field in |
size |
name of field in |
id |
name of field in |
id.name |
name of field in |
border |
colour of region borders |
ticks |
a logical value indicating whether tick marks should be added
to axes. Defaults to |
labels |
a logical value indicating whether regions should be labelled.
Defaults to |
label.filter |
string to be evaluated in the context of 'x' which determines whether a given region will be labelled. |
lab.size |
size of region label text |
regions |
colour of map regions |
max_size |
maximum size of bubbles |
size.label |
label formatter defaults to |
... |
additional parameters passed to |
Draws a map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.