.onLoad <- function(lib, pkg) {
pkgconfig::set_config("ggplot2::continuous_colour" = "viridis")
pkgconfig::set_config("ggplot2::continuous_fill" = "viridis")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.