# NOT RUN {
mtcars %>%
head() %>%
dplyr::mutate(model = row.names(.)) %>%
e_charts(model) %>%
e_pie(carb)
# timeline
df <- data.frame(
grp = c("A", "A", "A", "B", "B", "B"),
labels = rep(LETTERS[1:3], 2),
values = runif(6, 1, 5)
)
df %>%
group_by(grp) %>%
e_charts(labels, timeline = TRUE) %>%
e_pie(values)
# }
Run the code above in your browser using DataLab