Skip to content

Latest commit

 

History

History
119 lines (88 loc) · 4.66 KB

index.md

File metadata and controls

119 lines (88 loc) · 4.66 KB

echarts4r

R-CMD-check Lifecycle: stable GitHub closed issues code-size activity Coveralls test coverage

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.

<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/).

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