map_template | R Documentation |
Cross-sectional map. Uses the stored country_coords data as the base map.
map_template(df, category_color_labels = "None", category_color_values)
df |
A dataframe with the following: country, geometry, date, result = factor value |
category_color_labels |
List of labels that should map to the factor values of the df. Use "None" if no categories. |
category_color_values |
List of color values for mapping the labels. Needs to have the same length as category_color_labels! |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.