Description Usage Arguments Examples
Plot Data for Progress specified USA map.
1 2 3 |
states_data |
State data frame that contains column entitle "abbr". |
color_value |
Column name in the data frame for color fill value. Must be input as a character. |
alpha_value |
Column name in the data frame for alpha transparency value. Must be input as a character. Defaults to NULL. |
title |
Map title name. Defaults to NULL. |
subtitle |
Map subtitle name. Defaults to NULL. |
font |
Font of choice with a limited selection to most base fonts. Defaults to Montserrat. |
color_scheme |
Map fill color scheme. Defaults to "orange_to_green". Also supports "brown_to_purple", "teal_to_pink", "plum_to_gold" and "red_to_blue". |
limits |
Range of the color scale. Defaults to c(0.2, 0.8) for most polling data. |
save_plot |
Saves plot if TRUE. Defaults to FALSE, which only displays the plot. |
output_folder |
Output folder destination. Defaults to NULL, which outputs in the same folder. |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.