This project collects user responses through a survey, computes stress scores, provides basic machine-learning-based predictions, and visualizes insights using an analytics dashboard.
⚠️ This project is for educational and awareness purposes only.
🚀 Features 📝 Interactive mental health survey 📊 Stress scoring system based on responses 🤖 Simple machine learning model for stress-level prediction 📈 Analytics dashboard with visualizations 🎨 Adaptive UI (works in both light & dark mode) 💾 Data storage using CSV files ⚠️ Ethical disclaimer for mental health use
📁 Project Structure MentalHealthProject/ ├── app.py ├── README.md ├── .gitignore ├── pages/ │ └── 1_Analytics_Dashboard.py
▶️ How to Run the Project Clone the repository or download the code Install required libraries: pip install streamlit pandas matplotlib scikit-learn
Run the application: -streamlit run app.py
-Open the local URL shown in the terminal
📊 Analytics Dashboard The analytics page provides:
-Age distribution of respondents
-Stress score distribution
-Gender-wise participation
-Stress-level categorization
⚠️ Disclaimer
This application does not provide medical advice or diagnosis. It is intended only for learning, awareness, and academic purposes. If you are experiencing mental distress, please consult a qualified mental health professional.
🌱 Future Improvements
-Use real-world datasets for ML training
-Add authentication for users
-Deploy the app publicly
-Improve analytics with correlation & trend analysis
Built With
- matplotlib
- pandas
- python
- scikit-learn
- streamlit

Log in or sign up for Devpost to join the conversation.