install package chart.js 1

install package chart.js

npm install chart.js --save

Here is what the above code is Doing:
1. Importing the required libraries
2. Creating a Flask app
3. Creating a route for the home page
4. Creating a route for the chart page
5. Creating a route for the chart data
6. Running the app

Similar Posts