IAmJuniorB / Covid-Analysis

Heatmap showing the number of deaths month to month since the beginning of the pandemic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. 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
  • matplotlib

You can install them using pip:

pip install pandas seaborn matplotlib

Usage

  1. Clone this repository:
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:

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.

Covid Heatmap

Influenza Deaths

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

Influenza Heatmap

Pneumonia Deaths

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

Pneumonia Heatmap

About

Heatmap showing the number of deaths month to month since the beginning of the pandemic.

License:MIT License


Languages

Language:Python 100.0%