Cross-sectional map.
1 | map_template(df, world, category_color_labels = "None", category_color_values)
|
df |
A dataframe with the following: country, geometry, date, result = factor value |
world |
A dataframe with the following: geometry |
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.