Daily COVID-19

What is the COVID-19/Coronavirus?

Aims of this Project

For more information on COVID-19, please check out this World Health Organization FAQ. It is a fantastic resource to educate yourself.

We will be running this notebook every day until we truly "flatten the curve".

Table of Contents

  1. Gathering the Data ⭐
  2. General Visualizations ⭐
  3. By Continent ⭐
  4. By Country ⭐
  5. Interactive Search for Stats by Your Country ⭐
  6. Choropleth Maps ⭐

Gathering the Data (Web Scraping)

Essential Imports

Here's an updated template of imports that we use. Note the two integer variables at the bottom of this code block, LOOK_AT and AT_LEAST. LOOK_AT controls how many bars the user can see in the bar graph, and AT_LEAST controls what rank a country must be in terms of total cases shown on the bar graph. That should become more clear in the visualizations towards the end of the notebook.

Web Scraping Foundation

Scraping Script

If clean is set to true, the numerical data will be converted from a string to float. We drop China in our analysis because of some inconsistent positioning for China when scraping the da

On the worldometers website, the category "New Recovered" doesn't appear; however, based on the numbers, we can interpolate a certain column of data to be that.

What Countries are not present in the Analysis?

For some reason, some countries are not included when scraping the web page.

Final Processing

Here, we will convert all the numerical data into np.int64 data type, and add some other features that may be particularly useful.

Export

General Visualizations

By Continent

By Countries

COVID-19 Cases Search

Choropleth Visualizations