scale_fill_538 | R Documentation |
ggplot2
FiveThirtyEight scales for ggplot2
scale_fill_538(...)
scale_color_538(...)
... |
additional arguments to |
ggplot scale function
library(ggplot2)
data(oregon)
ggplot(oregon, aes(fill = ndv / (ndv + nrv))) +
geom_sf(size = 0) +
scale_fill_538(name = '') +
theme_map()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.