recharts
Version:
React charts
52 lines (35 loc) • 1.94 kB
Markdown
//travis-ci.org/recharts/recharts.svg)](https://travis-ci.org/recharts/recharts) [](http://badge.fury.io/js/recharts) [](https://coveralls.io/github/recharts/recharts?branch=master)
[](https://gitter.im/recharts/recharts?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Recharts is a **Re-designed** charting library built with [React](https://facebook.github.io/react/) and [D3](http://d3js.org).
The biggest feature or difference is helping you write charts in React application perfectly. There some philosophies of Recharts:
1. **Simplely** deploy with React components
1. **Native** SVG support, lightweight depend on some D3 submodules
1. **Declarative** components, components of chart are dumbed
- Cool animation
- Documentation
- Appropriate interaction
- More and more kind of charts
```jsx
<LineChart
width={400}
height={400}
data={data}
margin={{ top: 5, right: 20, left: 10, bottom: 5 }}
>
<XAxis dataKey="name" />
<Tooltip />
<CartesianGrid stroke="#f5f5f5" />
<Line type="monotone" dataKey="uv" stroke="#ff7300" yAxisId={0} />
<Line type="monotone" dataKey="pv" stroke="#387908" yAxisId={1} />
</LineChart>
```
All the submodules of Recharts is separated. The lineChart is composed by x axis, tooltip, grid, and line items, and each of them is the tiny React Component. Their is the Recharts want to do.
We are looking for people who share the idea about Recharts. The goal of this project is create more flexible charting library where developers using React at the same time.
[ ](http://opensource.org/licenses/MIT)
Copyright (c) 2015-2016 Recharts Group
[![Build Status](https: