Git Product home page Git Product logo

recharts's Introduction

recharts

Build Status

A R interface to ECharts for data visualization.

Installation

You can install recharts from github using the devtools package:

require(devtools)
install_github('recharts', 'taiyun')

Examples

Demo

require(recharts)
demo(recharts::recharts)
demo(recharts::recharts_shiny)
demo(recharts::recharts_shiny_pie)

Line Plot

plot(eLine(iris[,1:4]))
plot(eLine(iris[,1:4], opt=list(dataZoom=list(show=TRUE,end=35))))

Line Plot

Line Zoom Plot

Area Plot

plot(eArea(iris[,1:4]))

Area Plot

Scatter Plot

plot(ePoints(iris[,3:5]))

Scatter Plot

Pie Plot

x = sample(4)
names(x) = LETTERS[1:4]
plot(ePie(x))

Pie Plot

Bar Plot

plot(eBar(head(iris[,1:4])))

Bar Plot

Map

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占全国百分数'))))

Map

recharts's People

Contributors

taiyun avatar yummyzhou avatar yihui avatar eric-guo avatar wush978 avatar wush-bridgewell avatar

Watchers

Dreamer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.