{"library":"react-chartjs-2","type":"library","category":null,"description":"react-chartjs-2 provides React components that wrap the popular Chart.js library, enabling declarative data visualization within React applications. It supports Chart.js v4 and v3 (though v4 is recommended) and React versions 16.8.0 through 19.0.0. The current stable version is 5.3.1. Releases appear to be driven by Chart.js and React compatibility updates, with minor versions released every few months, and patch fixes as needed. Its key differentiator is providing a native React component API for Chart.js, abstracting away direct Chart.js instance management, and offering a robust integration with the React component lifecycle for dynamic chart updates.","language":"javascript","status":"active","version":"5.3.1","tags":["javascript","chart","chart-js","chart.js","react-chartjs-2","react chart.js","react-chart.js","typescript"],"install":[{"cmd":"npm install react-chartjs-2","imports":["import { Line } from 'react-chartjs-2';","import { Chart as ChartJS } from 'chart.js';","import { CategoryScale, LinearScale, PointElement, LineElement, Title, Tooltip, Legend } from 'chart.js';"]},{"cmd":"yarn add react-chartjs-2","imports":[]},{"cmd":"pnpm add react-chartjs-2","imports":[]}],"homepage":null,"github":"https://github.com/reactchartjs/react-chartjs-2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-chartjs-2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-chartjs-2/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}