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

Introduction

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


You can learn how to build such R packages for interactive visualisations with the book JavaScript for R.

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