Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

React Chart.js 2

React components wrapper for Chart.js enabling data visualization with charts.

Charts and data visualisation npm MIT

Used in agent projects
111
0.9% of 12,697 public repos built with AI coding agents
Rank in charts and data visualisation
#4 of 16
by use in those projects
Downloads
4.4M
npm, last 7 days, react-chartjs-2
GitHub stars
6,937
last push Oct 5, 2026

How React Chart.js 2 is used

React Chart.js 2 is a dependency in 111 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.9%), #4 of 16 in charts and data visualisation. The most used alternative there is Recharts. Projects that use it most often also use Chart.js (94.6%), Framer Motion (53.2%), React (92.8%).

Often used with React Chart.js 2

Chart.js94.6% of React Chart.js 2 projects · 72.8× more than average
Framer Motion53.2% of React Chart.js 2 projects · 4.0× more than average
React92.8% of React Chart.js 2 projects · 2.1× more than average
Lucide React60.4% of React Chart.js 2 projects · 3.0× more than average
React Router45.0% of React Chart.js 2 projects · 5.9× more than average
date-fns42.3% of React Chart.js 2 projects · 5.0× more than average
Tailwind CSS76.6% of React Chart.js 2 projects · 2.2× more than average
Axios36.9% of React Chart.js 2 projects · 3.7× more than average

By coding agent

Cursor1.1% of projects set up for it
Claude Code0.7% of projects set up for it
GitHub Copilot0.7% of projects set up for it

Share of public repos configured for each agent that list React Chart.js 2 as a dependency.

Install

Packagenpm install react-chartjs-2
Main stacksNext.js (54), TypeScript / JavaScript (51), Python (5), Other (1)
Example projects1600822305/AetherLink, hzrd149/nostrudel, Aristona/react-phaser-three-game, thereactfoundation/react.foundation, rink3y/Pump-UI

Alternatives to React Chart.js 2

All charts and data visualisation

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Recharts npm
Composable React component library for building responsive charts.
1,037 (8.2%) 56.3M 27.6K MIT
Matplotlib pypi
Python library for creating static, animated and interactive plots and visualizations.
194 (1.5%) 39.3M 23.3K —
Chart.js npm
Simple HTML5 canvas-based charting library for creating interactive data visualizations.
165 (1.3%) 12.7M 67.7K MIT
Plotly pypi
Interactive data visualization library for Python with rich chart and dashboard support.
74 (0.6%) 12.5M 18.8K —
Seaborn pypi
Statistical data visualization library built on matplotlib with rich plot types.
66 (0.5%) 6.8M 14.1K —
Mermaid npm
Markdown-like syntax for creating flowcharts, diagrams, and visualizations programmatically.
65 (0.5%) 17.7M 90.6K MIT
D3.js npm
JavaScript library for creating data-driven documents with powerful data visualization capabilities.
63 (0.5%) 22.2M 114K ISC
XY Flow npm
Customizable React library for building interactive node-based editors and flow charts.
62 (0.5%) 13.4M 38.6K MIT
Is React Chart.js 2 right for your project? Ask AgentGid →