All Projects β†’ recharts β†’ Recharts

recharts / Recharts

Licence: mit
Redefined chart library built with React and D3

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Recharts

React Plotly.js
A plotly.js React component from Plotly πŸ“ˆ
Stars: ✭ 701 (-95.98%)
Mutual labels:  charting-library, d3
Keen Dataviz.js
Data Visualization Charting Library
Stars: ✭ 215 (-98.77%)
Mutual labels:  charting-library, d3
React D3 Components
D3 Components for React
Stars: ✭ 1,599 (-90.84%)
Mutual labels:  charting-library, d3
svg-time-series
SVG time-series charting library
Stars: ✭ 18 (-99.9%)
Mutual labels:  d3, charting-library
Plotly.js
Open-source JavaScript charting library behind Plotly and Dash
Stars: ✭ 14,268 (-18.26%)
Mutual labels:  charting-library, d3
Plottable
πŸ“Š A library of modular chart components built on D3
Stars: ✭ 2,834 (-83.76%)
Mutual labels:  charting-library, d3
pdf2xml-viewer
A simple viewer and inspection tool for text boxes in PDF documents
Stars: ✭ 82 (-99.53%)
Mutual labels:  d3
Floweaver
View flow data as Sankey diagrams
Stars: ✭ 266 (-98.48%)
Mutual labels:  d3
game of life-elixir
An implementation of Conway's Game of Life in Elixir
Stars: ✭ 22 (-99.87%)
Mutual labels:  d3
simple-square-packing
werehamster.github.io/simple-square-packing/
Stars: ✭ 12 (-99.93%)
Mutual labels:  d3
Victory Chart
Chart Component for Victory
Stars: ✭ 286 (-98.36%)
Mutual labels:  d3
D3 Funnel
A JavaScript library for rendering funnel charts using the D3.js framework.
Stars: ✭ 283 (-98.38%)
Mutual labels:  d3
comparative-layout-explorer
πŸ“Š x πŸ“Š =❓An online gallery to explore the design space of comparative layouts
Stars: ✭ 16 (-99.91%)
Mutual labels:  d3
ux-charts
Simple, responsive, modern Charts with zero dependencies
Stars: ✭ 22 (-99.87%)
Mutual labels:  charting-library
React Native Svg Charts Examples
A collection of usage examples of react-native-svg-charts
Stars: ✭ 266 (-98.48%)
Mutual labels:  d3
vue-d3-charts
D3 charts for Vue
Stars: ✭ 66 (-99.62%)
Mutual labels:  d3
Realize
A React component tree visualizer
Stars: ✭ 285 (-98.37%)
Mutual labels:  d3
github-contribution-graph
Add beautiful GitHub contribution/commit graph to your profile README!
Stars: ✭ 37 (-99.79%)
Mutual labels:  d3
cryptoization
Data visualization application showing all BTC transactions in real-time
Stars: ✭ 12 (-99.93%)
Mutual labels:  d3
Dygraphs
Interactive visualizations of time series using JavaScript and the HTML canvas tag
Stars: ✭ 2,953 (-83.08%)
Mutual labels:  charting-library

Recharts

Sponsors on Open Collective Backers on Open Collective Build Status Coverage Status npm version npm downloads MIT License

Introduction

Recharts is a Redefined chart library built with React and D3.

The main purpose of this library is to help you to write charts in React applications without any pain. Main principles of Recharts are:

  1. Simply deploy with React components.
  2. Native SVG support, lightweight depending only on some D3 submodules.
  3. Declarative components, components of charts are purely presentational.

Examples

<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 components of Recharts are clearly separated. The lineChart is composed of x axis, tooltip, grid, and line items, and each of them is an independent React Component. The clear separation and composition of components is one of the principle Recharts follows.

Installation

npm

NPM is the easiest and fastest way to get started using Recharts. It is also the recommended installation method when building single-page applications (SPAs). It pairs nicely with a CommonJS module bundler such as Webpack.

# latest stable
$ npm install recharts

umd

The UMD build is also available on unpkg.com:

 <script src="https://unpkg.com/react/umd/react.production.min.js"></script>
 <script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
 <script src="https://unpkg.com/recharts/umd/Recharts.min.js"></script>

Then you can find the library on window.Recharts.

dev build

$ git clone https://github.com/recharts/recharts.git
$ cd recharts
$ npm install
$ npm run build

Demo

To examine the demos in your local build, execute:

$ npm run[-script] demo

and then browse to http://localhost:3000.

Module Formats

Contribution

We'd love ❀️ to hear what you think we should build. Please create an issue to write your usage or ideas.

We are looking for like-minded people who share the same idea about Recharts. The goal of this project is to create a more flexible charting library for the React community.

Backers

Become a backer and get your image on our README on Github with a link to your site.

Sponsoring

Most of the core team members do this open source work in their free time. If you use recharts for a important work, and you'd like us to invest more time on it, please donate. Thanks!

License

MIT

Copyright (c) 2015-2021 Recharts Group.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].