The Medical Data Visualizer is a Python project that processes and visualizes medical dataset trends. This tool provides visualizations to analyze patient data and health metrics. Instructions for building the project can be found here.
- Data Cleaning & Preprocessing: Handles missing values, standardizes formats, and prepares data for analysis.
- Statistical Analysis: Computes key health metrics such as BMI, cholesterol levels, and blood pressure.
- Data Visualization:
- Scatter plots for correlation analysis
- Categorical plots for health trends
- Heatmaps for feature relationships
- Customizable Filters: Allows users to filter and analyze specific patient groups.
Ensure you have Python 3 installed along with the following libraries:
pip install pandas numpy seaborn matplotlibgit clone https://github.com/ibringfaith/medical-data-visualizer.git
cd medical-data-visualizerRun the Python script to generate visualizations:
python medical_data_visualizer.pyModify parameters in the script to customize the analysis.
Here’s an example of a generated heatmap illustrating the correlation between health metrics:

To run tests and validate functionality, execute:
pytest test_medical_visualizer.pyEnsure all tests pass before making changes.