This function applies a custom theme, based on the CREG Style Guide, for the lay-out and colors of ggplot visuals. The colors are based on the CREG pallete, defined in the colours_CREG() function.
1 |
1 2 3 | ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy)) +
theme_CREG()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.