This project will help users to display live air quality monitoring data.
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
"react-sparklines": "^1.7.0",
"react-use-websocket": "^3.0.0"
"tailwindcss": "^3.0.23"
- Live City wise AQI Chart (Air Quality Index)
- AQI highlighted by different colors based on level
- AQI upto 2 decimal places
- Comparison of AQI of different cities.
- Magnified Chart of Live AQI of only one city
Air Quality Index (AQI) | Category | Color |
---|---|---|
0-50 | Good | #55a84f |
51-100 | Satisfactory | #a3c853 |
101-200 | Moderate | #fff851 |
201-300 | Poor | #f29c3e |
301-400 | Very Poor | #e93f33 |
401-500 | Severe | #af2d24 |
Click here to view the project
It took 15 seconds to deploy it in Vercel.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.