Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1013 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 1013 Bytes

recharts

Build Status

This is a prototype of porting Apache ECharts (incubating) into R using htmlwidgets. I only spent a few days on it last year, and I hope more R users can contribute to it. To install this package (please use R >= 3.2.0):

install.packages(
  'recharts',
  repos = c('http://yihui.name/xran', 'http://cran.rstudio.com')
)

Some "hello world" examples:

library(recharts)
echart(iris, ~Sepal.Length, ~Sepal.Width)
echart(iris, ~Sepal.Length, ~Sepal.Width, series = ~Species)

See https://github.com/taiyun/recharts for a similar project that we worked on before. Without the blessings of htmlwidgets, it is much more difficult to maintain that project. I hope this one can grow into a truly nice and exciting package. See the package website http://yihui.name/recharts for more information if you want to contribute.