Set custom color palettes in the 'tplthemes' library Color palettes found on http://colorbrewer2.org and are colorblind safe.
1 | set_color_pal(palette = "categorical", reverse = FALSE, ...)
|
palette |
Character name of palette in tpl_palettes |
reverse |
Boolean indicating whether the palette should be reversed |
... |
Additional arguments to pass to colorRampPalette() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.