A R interface to ECharts for data visualization.
You can install recharts
from github using the devtools
package:
require(devtools)
install_github('recharts', 'taiyun')
demo(recharts::recharts)
demo(recharts::recharts_shiny)
demo(recharts::recharts_shiny_pie)
plot(eLine(iris[,1:4]))
plot(eLine(iris[,1:4], opt=list(dataZoom=list(show=TRUE,end=35))))
plot(eArea(iris[,1:4]))
plot(ePoints(iris[,3:5]))
x = sample(4)
names(x) = LETTERS[1:4]
plot(ePie(x))
plot(eBar(head(iris[,1:4])))
options(encoding="UTF-8")
Sys.setlocale("LC_CTYPE","chs")
load(url('http://yzhou.org/recharts/ChinaGDP.RData'))
plot(eMap(ChinaGDP, opt=list(title=list(text='2008~2010年大陆各省GDP占全国百分数'))))