recharts's avatar

Recharts

by recharts

Composable charting library for React built on SVG and D3. The foundation behind shadcn/ui Charts, Evil Charts, and many dashboard UIs.

27,171
May 27, 2026
open-source
Recharts screenshot

Overview

Recharts is a composable charting library built with React components. Install via npm, compose charts from decoupled primitives (axes, grids, tooltips, legends), and customize behavior through props and custom components.

Features

  • Composable: Build charts with reusable React components (BarChart, LineChart, AreaChart, PieChart, and more)
  • Reliable: SVG-based rendering with a lightweight dependency on D3 submodules
  • Powerful: Customize charts via component props and custom child components
  • React-first: Designed for React applications with TypeScript support
  • Widely adopted: Used by shadcn/ui Charts, Evil Charts, and many production dashboards
  • MIT licensed: Open source on GitHub