Description Usage Arguments Details Value Examples
Plots a cloropleth map for the given stats.
1 |
data |
Data frame, must contain 2 columns, |
column |
Character, specifies the stat to use,
should match a column present in |
colour |
Numeric, ranges from 1 to 7, defaults to 2, the classic Nadine west pink. |
label |
Character, 'dollar' if the stat is a currency, 'percent' if it is proportion, 'none' otherwise. |
This function plots summarised data by states in the us map.
*Note: It doesn't include states outside the us main land (Hawaii, PR and alaska)
A cloropleth map of the U.S with the given stat.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.