Thanks to Sharon Machlis there is an amazing video and article introducing echarts4r.
<iframe width="560" height="315" src="https://www.youtube.com/embed/OBJxIWEFHdo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
You can learn how to build such R packages for interactive
visualisations with the book [JavaScript for R](https://javascript-for-r.com/).
The package is available on CRAN. The full installation can be obtained with:
install.packages("echarts4r")
However, if you only want a lite version you can simply do, this is useful for a lighter version that installs faster if you do not want to use any of the geospatial features of the package:
install.packages("echarts4r", dependencies = c("Depends", "Imports"))
You can also install the unstable development version of echarts4r with remotes
from Github, see changes.
# install.packages("remotes")
remotes::install_github("JohnCoene/echarts4r")
如果您位于中国,请安装:
# install.packages("remotes")
remotes::install_git("https://gitee.com/JohnCoene/echarts4r")
Companion packages to make echarts4r
even better. You can install and load the whole suite with:
remotes::install_github("JohnCoene/echarts4r.suite")