library(ggplot2) # define palette of colors pal = list ( qualitative = brewer.pal(9, "Greens") ) names(pal$qualitative) = 1:length(pal$qualitative) # make randomness repeatable set.seed(101) # define theme of graphics theme_set(theme_bw())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.