View source: R/theme_urbn_map.R
theme_urban
provides a ggplot2 theme formatted according to the
Urban Institute style guide for maps, with sensible defaults.
1 2 3 4 5 6 7 | theme_urbn_map(
scale = "continuous",
base_size = 8.5,
base_family = "Lato",
base_line_size = 0.5,
base_rect_size = 0.5
)
|
scale |
"continuous" creates a vertical legend to the right of the map. "discrete" creates a horizontal legend above the map. |
base_family, base_size |
base font family and size |
base_line_size, base_rect_size |
base line and rectangle sizes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.