Create an arbitrary-sized palette from an RColorBrewer palette.
1 | make.cb.pal(name, cb.colors = 8, pal.colors = 255)
|
name |
RColorBrewer palette name |
cb.colors |
number of colors to use from the RColorBrewer palette |
pal.colors |
number of colors to generate from the RColorBrewer palette |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.