Covid19 data analysis in Python

Statistics on Covid19 cases in a few cities in Saudia Arabia

Data source: King Abdullah Petroleum Studies and Research Center (KAPSARC)
Retrieved on 7-Sep-2020.  

Objective: Get a glimpse of the Covid19 virus spread in KSA and visualize the curves of the total cases, active cases, recoveries, and mortalities.

The steps followed in making this report are:

1. Data collection and cleaning 

2. Data exploration and filtering by City with Pandas' DataFrame

3. Visualizing the data with Matplotlib 

In the following, let us focus on a few big cities in KSA, e.g., Riyadh, Jeddah, Mekka, Medinah, and Dammam. Before diving into the different results let us see the event data on the first registered case, curfew, and lockdown. 

Riyadh

Let's start with summary statistics on the daily cases, recoveries, and mortalities.  


The cumulative number of cases in Riyad are given in the following plot:


Jeddah

The summary statistics of Jeddah daily cases are as follows:


The cumulative number of cases in Jeddah are given in the following plot:


Mekka

The summary statistics of Mekka daily cases are as follows:



The cumulative number of cases in Mekka are given in the following plot:



Medina

The summary statistics of Jeddah daily cases are as follows:


The cumulative number of cases in Medina are given in the following plot:


Dammam

The summary statistics of Dammam daily cases are as follows:



The cumulative number of cases in Dammam are given in the following plot:

 

A report for your own city in KSA can be generated based on request plz send it via comment below. 

The author assumes no legal responsibility of any kind on how the statistics or plots are used or the conclusions are drawn. 

Comments

Popular posts from this blog

Plotting monthly salary based on gender and age in Excel

Showing your company revenues and return-on-investment percentage in single plot