#' Save plot
#' @param x plot object
#' @param file_path character string with file path
save_plot <- function(x, file_path) {
png(filename = file_path)
print(x)
dev.off()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.