library(gt)
# Create a display table based on `morley`
morley_tbl <-
gt(morley) %>%
fmt_number(
columns = Speed,
decimals = 0,
sep_mark = ",") %>%
cols_align(align = "left", columns = c(Run, Speed))
morley_tbl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.