library(gt)
library(dplyr)
# Read data file from CSV
billboard <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/main/data/2025/2025-08-26/billboard.csv')
billboard |>
names() |>
data.frame(column_names = _) |>
gt() |>
cols_width(everything() ~ px(130)) |>
opt_row_striping() |>
opt_interactive(page_size_default = 6)