plot_points_histogram <- function(league_table) {
ggplot2::ggplot(data = league_table,
ggplot2::aes(x = total_points)) +
ggplot2::geom_histogram(bins = 15)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.