Use XKCD's "Painbow" colormap
1 2 3
Any arguments are passed to
The colors were extracted directly from the colorscale in XKCD's image (https://xkcd.com/2537/).
ggplot2:scale_fill_gradientn() for additional arguments.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.