This package is a thin R wrapper around Javascript library
ECharts. The list
parameters in R replicate ECharts’
documentation. There are
just a few additional commands.
Users can benefit from ECharts' full functionality to build
interactive charts in R and Shiny with minimal overhead.
Wider connectivity and deployment potential through crosstalk support.
# install.packages("remotes")
remotes::install_github("helgasoft/echarty")
From CRAN:
install.packages("echarty")
library(echarty)
# 2D chart
cars %>% ec.init()
# 3D chart with GL plugin
iris %>% ec.init(load='3D')
The WEBSITE has a gallery with code and tutorials.
The package has plenty of code
examples
included. Type
?ec.examples in the RStudio Console, then copy/paste any code from Help to
see the result.
Now you can start building beautiful charts (and more) with R and Shiny!