# template1
# global.R
# load libraries
library(dplyr)
library(simplevis)
# load data
set.seed(123456789)
data <- ggplot2::diamonds %>%
slice_sample(prop = 0.1)
# add reference
data_source <- "Diamonds Association"
# add other helpers as required
color_vector <- sort(unique(data$color))
title_wrap <- 50
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.