knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(Pokedex) library(echarts4r)
dataset <- data.table::data.table(iris) dataset %>% echarts4r::e_chart(Sepal.Length) %>% echarts4r::e_scatter(Petal.Length) %>% echarts4r::e_tooltip(trigger = "item") %>% echarts4r::e_title(text = "Test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.