Description Usage Format Examples
Made up character vector of company colours
1 |
An object of class character
of length 3.
1 2 3 4 5 6 7 8 9 10 | viz_pallette(my_company_cols)
my_company_hex <- get_hex(my_company_cols)
ggplot(mtcars %>% dplyr::mutate(cyl = as.character(cyl)), aes(cyl)) +
geom_bar(aes(fill = cyl)) +
scale_fill_manual(values = my_company_hex(red, yellow, blue))
my_comp_pal <- get_pal(my_company_cols)
my_comp_scale_col <- get_scale_color(my_company_cols)
my_comp_scale_fill <- get_scale_fill(my_company_cols)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.