Skip to content

aliiakbarkhan/Disease-Risk-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Advanced Disease Risk Predictor - India 🇮🇳

vlcsnap-2025-07-30-23h14m17s861

Real-time, AI-powered health risk assessment system for Indian states and cities.
Provides dynamic risk analysis using live weather, air quality, and mobility data.

Live Demo: https://aliiakbarkhan.github.io/disease-risk-predictor/


🚀 Features

  • ✅ Real-time Risk Prediction
  • ✅ Live Weather and Air Quality Integration
  • ✅ Smart State & City Autocomplete
  • ✅ Advanced Risk Scoring Algorithm
  • ✅ Health Recommendations Based on Risk Level
  • ✅ User-Friendly UI with Responsive Design
  • ✅ Location Suggestions with Keyboard Navigation
  • Enhanced Error Handling: Thoughtful and engaging experience when APIs are unavailable or endpoints return errors, including creative 404/error pages.
  • Dynamic Theme Control: Well-implemented dark mode based on user preference or system settings.
  • Creative Loading States: Engaging loading animations (e.g., weather-related spinners) and informative fun facts while waiting for API responses.
  • Real-time Visual Themes: UI elements dynamically adjust based on public API data (such as weather conditions or time of day).
  • Text-to-Speech Functionality: Incorporates text-to-speech for reading out articles, reports, or instructions, enhancing accessibility.

🛠️ Tech Stack

  • HTML5
  • CSS3
  • JavaScript (Vanilla)
  • OpenWeatherMap API - Real-time weather data
  • IQAir AirVisual API - Real-time air quality data
  • Web Speech API - For text-to-speech functionality
  • FontAwesome - Icons and UI elements
  • GitHub Pages - Free static hosting

📸 Screenshots

Home Page

City Selection and Autocomplete

Risk Result with Detailed Insights


📂 Folder Structure

disease-risk-predictor/
│
├── index.html       # Main HTML file
├── style.css        # All project styling
└── script.js        # JavaScript logic

🔗 APIs Used


📌 How to Run Locally

# Clone the repository
git clone https://github.com/aliiakbarkhan/disease-risk-predictor.git

# Open index.html directly in your browser

No backend setup is required. All APIs are called directly from the browser.


🙌 Acknowledgements

  • Special thanks to OpenWeatherMap and IQAir for providing free APIs.
  • UI inspired by modern health dashboards and card-based designs.

📣 Contact

📧 aliakbarkhana79@gmail.com
🔗 LinkedIn
🔗 GitHub

About

Real-time, AI-powered health risk assessment system for Indian states and cities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors