Blog | 9 Best React Chart Libraries for Apps and Dashboards | Nov - 17, 2026

9 Best React Chart Libraries for Apps and Dashboards

9 Best React Chart Libraries for Apps and Dashboards

The quick answer

Quick answer: for most React apps, Recharts is the default pick: MIT licensed, built from declarative React components on top of D3, and released as recently as July 2026. Choose react-chartjs-2 with Chart.js when you have large datasets, because Chart.js draws on canvas instead of SVG. Nivo gives polished, themeable charts with SVG, HTML and canvas renderers, visx gives low-level building blocks for fully custom charts, and Apache ECharts (through echarts-for-react) suits option-driven, highly interactive charts. If you already use Material UI, MUI X Charts fits in directly. Check the licence before you ship ApexCharts or Highcharts: both need a paid licence for many commercial uses. If you would rather not wire up a chart at all, PLG OS (our own product) has ready-made pie, line and doughnut chart components. Release dates below come from each package's npm registry entry, checked in November 2026.

React chart libraries compared

LibraryBest forLicenseNotable featuresMaintained (latest npm release)
RechartsMost React dashboardsMITDeclarative components, SVG, built on D33.10.1, Jul 25, 2026
react-chartjs-2 + Chart.jsLarge datasets, canvasMITCanvas rendering, mixed charts, plugins5.3.1, Oct 27, 2025 (Chart.js 4.6.1, Oct 22, 2026)
NivoPolished, themeable chartsMITSVG, HTML and canvas charts, server-side rendering0.99.0, May 23, 2025
VictoryComposable charts, React Native pathMITComposable components, Victory Native XL for mobile38.0.1, Nov 8, 2026
visxFully custom visualizationsMITLow-level D3 plus React primitives4.0.0, Jun 11, 2026
ECharts (echarts-for-react)Many chart types, rich interactionApache-2.0 (ECharts), MIT (wrapper)Option-based config, themesECharts 6.1.0, May 19, 2026; wrapper 3.0.6, Jan 21, 2026
MUI X ChartsMaterial UI appsMIT community, paid Pro and PremiumMatches MUI theming9.17.0, Oct 30, 2026
ApexCharts (react-apexcharts)Interactive charts for small companiesFree under $2M revenue, paid above18+ chart types, SSR, premium chart types2.2.0, Oct 30, 2026 (ApexCharts 8.8.1, Nov 8, 2026)
Highcharts (@highcharts/react)Enterprise charts, stock and mapsCommercial licenceStock, Gantt and Maps, Boost module5.4.0, Oct 12, 2026 (Highcharts 13.1.1, Sep 20, 2026)

1. Recharts

Who it is for: teams that want a chart library that reads like React. Most dashboards with line, bar, area and pie charts fit here.

Install: npm install recharts react-is (the README says react-is must match your installed React version).

Strengths: Recharts describes itself as a chart library built with React and D3, with native SVG support, minimal dependencies and declarative components. A line chart is composed from separate pieces such as XAxis, Tooltip, CartesianGrid and Line, so you change one part without touching the rest. It is MIT licensed and version 3.10.1 shipped on July 25, 2026.

Limits: SVG rendering means every point is a DOM node, so very large datasets are better served by a canvas library such as Chart.js or ECharts.

2. react-chartjs-2 with Chart.js

Who it is for: apps that plot a lot of data, or teams that already know Chart.js.

Install: npm i react-chartjs-2 chart.js, then import components such as Line, Pie or Doughnut.

Strengths: Chart.js renders on an HTML5 canvas, which its docs say keeps it fast on large datasets that would need thousands of SVG nodes. It ships built-in chart types, community chart types and mixed charts, and supports tree shaking. The React wrapper supports Chart.js v4 and v3. Both are MIT licensed, and Chart.js 4.6.1 shipped on October 22, 2026.

Limits: canvas cannot be styled with CSS, so you style through Chart.js options or plugins. The wrapper's latest release is from October 2025, so most change happens in Chart.js itself.

3. Nivo

Who it is for: product teams that want good-looking charts with little design work.

Install: npm install @nivo/core plus one package per chart type, for example npm install @nivo/pie for a pie chart.

Strengths: Nivo is built on D3 and lists SVG, HTML and canvas charts, server-side rendering with an HTTP API, motion through react-spring, patterns, gradients, theming and responsive charts. Its site has an interactive playground for every component.

Limits: the latest release, 0.99.0, is from May 23, 2025, so releases are less frequent than Recharts or Victory. Check open issues for your chart type before you commit.

4. Victory

Who it is for: teams that want composable chart parts and may also need charts in React Native.

Install: npm i victory

Strengths: Victory is an ecosystem of composable React components for interactive data visualization. A pie chart is one line: VictoryPie. The README marks the project as actively maintained, and version 38.0.1 shipped on November 8, 2026. For mobile apps the same team maintains Victory Native XL, a rewrite for React Native.

Limits: from version 38 Victory needs React 18 or later; React 16 and 17 projects should stay on Victory 37.

5. visx

Who it is for: teams building custom visualizations that a standard chart component cannot express.

Install: pick the packages you need, for example npm install @visx/shape @visx/scale @visx/group.

Strengths: visx is a collection of low-level visualization components from Airbnb that combines D3 for the maths with React for the DOM. Version 4 is the current stable release and needs React 18 or 19. You only ship the pieces you import.

Limits: visx is not a chart library in the "drop in a LineChart" sense. You build axes, scales and tooltips yourself, so a simple dashboard takes longer than with Recharts.

6. Apache ECharts with echarts-for-react

Who it is for: dashboards that need many chart types and a lot of interactivity.

Install: npm install echarts-for-react echarts

Strengths: Apache ECharts describes itself as a free charting and visualization library for interactive, highly customizable charts in commercial products, written in pure JavaScript. It is Apache-2.0 licensed, and version 6.1.0 shipped on May 19, 2026. The echarts-for-react wrapper renders a chart from one option object and supports themes, lazy updates and event handlers.

Limits: you configure charts through a large option object rather than React components, which feels less like React. The wrapper is a community package, separate from the Apache ECharts project.

7. MUI X Charts

Who it is for: apps built on Material UI that want charts to match the rest of the interface.

Install: npm install @mui/x-charts @mui/material @emotion/react @emotion/styled

Strengths: MUI X Charts is the community edition of MUI's chart components, under the MIT licence, and version 9.17.0 shipped on October 30, 2026. It is part of MUI X, the open-core extension of MUI's core component libraries.

Limits: MUI X is open core. The @mui/x-charts-pro and @mui/x-charts-premium packages carry a commercial licence, and you need Material UI as a dependency even if you only want charts.

8. ApexCharts with react-apexcharts

Who it is for: small companies that want interactive charts in a dashboard or SaaS product.

Install: npm install react-apexcharts apexcharts

Strengths: the ApexCharts README lists 18+ chart types in the default bundle, server-side rendering for Next.js and other frameworks, tree shaking, TypeScript types and built-in keyboard navigation and ARIA support. Version 6 added canvas rendering for dense series. ApexCharts 8.8.1 shipped on November 8, 2026 and the React wrapper 2.2.0 on October 30, 2026.

Limits: ApexCharts is no longer a plain open-source licence. Its license file offers a free Community License only to organizations with annual revenue, budget or funding under $2 million. Larger companies need a paid licence, Pro and Premium are priced per developer, embedding it in a product other people build on needs an OEM licence, and some chart types such as Waffle and Raincloud are Premium features.

9. Highcharts with @highcharts/react

Who it is for: enterprise teams that want stock, Gantt and map charts with vendor support.

Install: npm install @highcharts/react (highcharts, react and react-dom are peer dependencies).

Strengths: the official React integration has a JSX-native API and covers basic charts as well as Stock, Gantt and Maps. Its README lists a WebGL Boost module for very large datasets and accessibility features.

Limits: Highcharts is proprietary. The React package's own terms say it may only be used with a valid Highsoft software licence, and the README points commercial users to the sales team. Budget for a licence before you build on it.

How to choose

  • You want a safe default: Recharts. It is MIT, React-shaped and recently released.
  • You plot thousands of points: Chart.js through react-chartjs-2, which draws on canvas.
  • Your design team wants a custom look: visx for full control, Nivo for good defaults with theming.
  • You use Material UI: MUI X Charts, and check whether you need the Pro features.
  • You also ship a React Native app: Victory on the web plus Victory Native XL on mobile keeps the API close.
  • Licences matter to your legal team: stay with MIT or Apache-2.0 libraries, or budget for ApexCharts or Highcharts.

React pie chart and line chart: the short version

The two most common requests are a pie chart and a line chart. In Recharts a pie chart is a PieChart with a Pie inside it, and a line chart is a LineChart with one Line per series. In react-chartjs-2 you import Pie or Line and pass a data object with labels and datasets. In Victory you use VictoryPie or VictoryLine, and in Nivo you install @nivo/pie or @nivo/line. For a doughnut chart, Chart.js has a Doughnut component, and Recharts and Nivo set an inner radius on the pie.

When a component beats a library

A chart library draws the chart. You still write the data plumbing, handle loading and empty states, and redeploy every time someone wants to change a label. That is fine for an internal dashboard owned by engineers. It is more work when the chart sits inside your product for users, such as a progress chart in onboarding or a usage summary on a home screen.

PLG OS (our product): PLG OS has ready-made chart components, including the React pie chart, React line chart and Next.js pie chart. The component pages say you install npm i @questlabs/react-graphs, deploy the chart from the PLG OS platform and paste the generated code. Text and data can be changed from the PLG OS dashboard without code, chart data is added to Customer 360, and the components are offered for React, React Native and Flutter, with a React Native pie chart as well. Pricing starts with a free tier at 100 MTUs and one component, and Starter is $49 a month. It is a fit for in-product charts that a product team wants to change, not a replacement for a full charting library in an analytics app. If you need customer-facing dashboards built on your warehouse, see our embedded analytics platforms guide.

Other React roundups from this series: React toast libraries and React confetti libraries.

FAQs

What is the best React chart library?

For most apps, Recharts: it is MIT licensed, uses declarative React components and was last released in July 2026. Pick Chart.js through react-chartjs-2 for large datasets, visx for custom visuals, and MUI X Charts if you use Material UI.

Which React chart library is free for commercial use?

Recharts, Chart.js, react-chartjs-2, Nivo, Victory, visx and the MUI X Charts community edition are MIT licensed, and Apache ECharts is Apache-2.0. ApexCharts is free only for organizations under $2 million in annual revenue, budget or funding, and Highcharts needs a commercial licence.

How do I make a pie chart in React?

Install a library such as Recharts (npm install recharts react-is), then render a PieChart with a Pie that receives your data array and a dataKey. In react-chartjs-2 you import Pie and pass labels and datasets. Victory's VictoryPie works with no props for a first test.

What is the best React chart library for large datasets?

Canvas-based libraries handle large datasets better than SVG ones. Chart.js documents canvas rendering for this reason, ApexCharts can paint dense series to canvas from version 6, and Highcharts lists a WebGL Boost module.

Is Recharts still maintained?

Yes. Recharts 3.10.1 was published to npm on July 25, 2026, and development continues on its main branch.