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