This project demonstrates how to integrate Chart.js with React in a Vite environment using the react-chartjs-2 wrapper. It provides interactive and customizable charts such as line, bar, pie, and more.
- 📊 Multiple Chart Types: Line, Bar, Doughnut, Pie, and more.
- 🎨 Customization: Modify colors, labels, and datasets.
- 🔄 Dynamic Data: Update charts in real-time.
- ⚡ Fast Performance: Built with Vite for faster builds.
-
Clone the repository:
git clone https://github.com/hamzzay/react-chartjs.git cd react-chartjs -
Install dependencies:
npm install
-
Start the development server:
npm run dev
This project uses:
Happy Coding! 🎉