# Figures
Reorder <- function(dat, fun) {
dat_new <- dat
dat_new$continent <- dat %>% with(reorder(continent, gdpPercap, fun))
dat_new
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.