using chart.js with react code example Example: react chartjs npm install --save react-chartjs-2 chart.js