https://github.com/iamjuniorb/covid-analysis
Heatmap showing the number of deaths month to month since the beginning of the pandemic.
https://github.com/iamjuniorb/covid-analysis
covid covid-19 covid-data covid19 covid19-data influenza pandemic pandemic-analysis pneumonia python python-analysis python3 united-states
Last synced: 3 months ago
JSON representation
Heatmap showing the number of deaths month to month since the beginning of the pandemic.
- Host: GitHub
- URL: https://github.com/iamjuniorb/covid-analysis
- Owner: IAmJuniorB
- License: mit
- Created: 2023-07-19T16:21:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T16:47:45.000Z (almost 2 years ago)
- Last Synced: 2023-07-19T17:39:21.676Z (almost 2 years ago)
- Topics: covid, covid-19, covid-data, covid19, covid19-data, influenza, pandemic, pandemic-analysis, pneumonia, python, python-analysis, python3, united-states
- Language: Python
- Homepage:
- Size: 1.89 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# COVID-19, Influenza, and Pneumonia Deaths Analysis
This project aims to analyze and visualize the monthly COVID-19, influenza, and pneumonia deaths data using Python. It generates interactive heatmaps to help understand the trends and patterns in these mortality rates.
## Data Source
The data used in this analysis is sourced from [CDC](https://data.cdc.gov/NCHS/Provisional-COVID-19-Deaths-by-Sex-and-Age/9bhg-hcku). It includes the number of deaths for each month and year, as well as the corresponding data as of date.
## Prerequisites
Before running the Python code, ensure you have the following packages installed:
- pandas
- seaborn
- matplotlibYou can install them using `pip`:
```bash
pip install pandas seaborn matplotlib
```## Usage
1. Clone this repository:
```bash
git clone https://github.com/IAmJuniorB/COVID-Analysis.git
cd COVID-Analysis
```
1. Place the data file filtered_deaths.csv in the project folder.2. Run the Python script:
```bash
python CovidDeaths.py
python PnaDeaths.py
python InfluenzaDeaths.py
```The scripts will generate three heatmaps for COVID-19, influenza, and pneumonia deaths as of the latest data (7/12/23).
## Heatmaps
### COVID-19 Deaths
The COVID-19 heatmap illustrates the monthly deaths for each year, with a custom color scale. The highest monthly death count is highlighted.

### Influenza Deaths
The influenza heatmap illustrates the monthly deaths for each year, with a custom color scale. The highest monthly death count is highlighted.

### Pneumonia Deaths
The pneumonia heatmap illustrates the monthly deaths for each year, with a custom color scale. The highest monthly death count is highlighted.
