clr5 | R Documentation |
clr5
is a combination of five colors I like.
clr5
An object of class character
of length 5.
This is just a shortcut for RColorBrewer::brewer.pal(5,'Set1').
ggplot(tibble( x = 1:5))+ coord_equal()+ geom_tile(aes(x = x, y = 1, fill = factor(x)))+ scale_fill_manual(values = clr5)+ theme_void()+ theme(legend.position = 'none')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.