library(apexcharter)
data("economics", package = "ggplot2")
apex(
data = tail(economics, 350),
mapping = aes(x = date, y = uempmed),
type = "line"
) %>%
set_tooltip_fixed()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.