# 🧠 Mental Health Dashboard
A Streamlit-based dashboard for **exploratory data analysis (EDA)** and **analysis of mental health datasets**.
The project includes interactive visualizations, correlation analysis, and insights into factors affecting mental health risk.mental_health/
mental_health/data/mental_health.csv # Raw dataset
mental_health/data/mental_health_cleaned.csv # Cleaned dataset
mental_health/pages/EDA.py # Exploratory Data Analysis page
mental_health/pages/Analysis_Dashboard.py # Core analysis dashboard page
mental_health/utils/data_processing.py # Data loading & cleaning functions
mental_health/app.py # Main Streamlit entry point
mental_health/mental_health.py # Data cleaning script
mental_health/requirements.txt # Dependencies
mental_health/README.md # Project documentation
- Clone the repository
git clone https://github.com/hyarisara/mental_health_dashboard.git
cd mental_health_dashboard- Create a virtual environment and install dependencies
python -m venv .venv
# Activate the venv:
# Windows
.venv\Scripts\activate
# macOS/Linux
source .venv/bin/activate
pip install -r requirements.txt- Run the dashboard
streamlit run app.py- Interactive EDA for numeric and categorical variables
- Correlation analysis and heatmaps
- Analysis of stress, sleep, and physical activity interaction
- Social support effect on depression/anxiety
- Identification of high-risk groups
- Suggestion of potential predictors for mental health risk
- Fork the repository
- Create a new branch
git checkout -b feature/your-feature-name- Make your changes
- Commit your changes
git commit -m "Add new feature"- Push to your branch
git push origin feature/your-feature-name- Open a Pull Request
- Streamlit Docs – Build interactive dashboards
- Seaborn Docs – Visualizations and plots
- Pandas Docs – Data manipulation
- Scipy Stats – Statistical analysis