Interactive visualisations for R via Apache ECharts

Get Started Reference Timeline Shiny Demo



Version 5

Explore new features available on version 5 of echarts.js!


Explore

Note

The Github version is currently going through the update from ECharts.js version 4 to version 5: feel free to test it but there are some issues. Please use the stable CRAN version otherwise.

Introduction

Thanks to Sharon Machlis there is an amazing video and article introducing echarts4r.

Installation

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")

Companions

Companion packages to make echarts4r even better. You can install and load the whole suite with:

remotes::install_github("JohnCoene/echarts4r.suite")

echarts4r.assets

Icons, and assets for globes, add visually interesting globe overlays and background.

remotes::install_github('JohnCoene/echarts4r.assets')
Website Github

echarts4r.maps

A collection of 215 country maps to use with geo-spatial visualisations.

remotes::install_github('JohnCoene/echarts4r.maps')
Website Github