Skip to content
R

recharts

Redefined chart library built with React and D3

by rechartsFree

Launch
#1in UI Libraries
0In stores

Description

Recharts is a charting library for React, built on top of D3. You put charts together from React components (a chart, its axes, a grid, a to…

Highlights

  • Charts built from declarative React components
  • SVG rendering on top of D3
  • Line, area, bar, pie, radar and scatter charts
  • Composed charts mixing several kinds
  • Tooltips, legends and axes you can customize

Ratings & Reviews

No ratings yet

Be the first to rate recharts.

People also visit

E

echarts for react

Wrapper around beautiful Apache Echarts

UI Libraries
Launch
R

react-sparklines

Beautiful and expressive Sparklines React component

UI Libraries
Launch
R

react-chartist

React component for Chartist.js

UI Libraries
Launch
V

@visx/group

visx group

UI Libraries
Launch
N

@nivo/annotations

<a href="https://nivo.rocks"><img alt="nivo"

UI Libraries
Launch
R

react-apexcharts

React.js wrapper for ApexCharts with SSR support

UI Libraries
Launch

recharts FAQ

What is Recharts?

A chart library for React. You describe a chart with components such as LineChart, XAxis, Tooltip and Line, and Recharts draws it as SVG.

Is Recharts free?

Yes. It is open source under the MIT license and free for personal and commercial use.

How do I install Recharts?

From npm: npm install recharts. It needs React in your project.

Which charts does Recharts support?

Line, area, bar, pie, radar, radial bar, scatter, treemap and composed charts that combine several of these.

Does Recharts use D3?

It uses a few D3 modules for scales and shapes, but you work with React components rather than D3 directly.

Can I customize the look of a chart?

Yes. Every part takes props for colors, sizes and labels, and you can pass your own components for tooltips, labels and shapes.

What are the best recharts alternatives?

Popular alternatives to recharts include echarts for react, react-sparklines and react-chartist. See all recharts alternatives

Developer Stuff

Badges