A clean and intuitive web application for visualizing health-related data. Upload your CSV files and explore your data through interactive charts, correlation analysis, and statistical summaries.
- Easy File Upload: Simple drag-and-drop CSV file upload
- Interactive Visualizations: Create bar charts, line charts, scatter plots, and histograms
- Correlation Analysis: Visualize relationships between numeric variables with heatmaps
- Statistical Summary: View comprehensive statistics including mean, standard deviation, min, max, and missing values
- Responsive Design: Clean, modern interface with soothing colors
- Real-time Updates: Instant visualization updates as you change parameters
- Python 3.8 or higher
- pip (Python package installer)
- Clone the repository:
git clone https://github.com/RyanSantoshJoseph/Health-Data-Visualizer.git
- Navigate into the cloned repository:
cd Health-Data-Visualizer
- Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the app:
streamlit run app.py
- Open your browser and navigate to
http://localhost:8501
- Upload Data: Click on "Choose a CSV file" and upload your health dataset
- Preview: View the first 10 rows of your data
- Create Visualizations:
- Select X-axis (categorical data)
- Select Y-axis (numeric data)
- Choose chart type (Bar, Line, Scatter, or Histogram)
- Analyze Correlations: Scroll down to see the correlation heatmap for numeric variables
- Review Statistics: Check summary statistics including missing values
Your CSV file should contain health-related data with:
- Text/Categorical columns: Patient ID, Gender, Diagnosis, etc.
- Numeric columns: Age, Blood Pressure, Glucose Level, BMI, etc.
Example:
Patient_ID,Age,Blood_Pressure,Glucose,BMI,Diagnosis
P001,45,120,95,24.5,Normal
P002,52,140,110,28.3,Pre-diabetic
P003,38,115,88,22.1,Normal
- Streamlit: Web application framework
- Pandas: Data manipulation and analysis
- Plotly: Interactive data visualization
- Python: Core programming language
Health-Data-Visualizer/
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── README.md # Project documentation
└── .gitignore # Git ignore file
streamlit
pandas
plotly
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Project Link: https://github.com/RyanSantoshJoseph/Health-Data-Visualizer
If you find this project helpful, please give it a ⭐️!