Code Monkey home page Code Monkey logo

covid-analysis's Introduction

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

covid-analysis's People

Contributors

iamjuniorb avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.