The COVID-19 Global Data Tracker is a Python-based project that visualizes and analyzes global COVID-19 data. It uses the Our World in Data (OWID) dataset to provide insights into cases, deaths, vaccinations, and other key metrics.
- Data Collection: Automatically loads the OWID dataset (
owid-covid-data.csv). - Data Visualization:
- Total cases, deaths, and vaccinations over time.
- Daily new cases and death rates for selected countries.
- Choropleth maps for global COVID-19 metrics.
- Analysis:
- Death rate trends.
- Vaccination progress across countries.
COVID19_Global_Data_Tracker.ipynb: Jupyter Notebook containing the code for data loading, analysis, and visualization.owid-covid-data.csv: Dataset file containing global COVID-19 data.README.md: Documentation for the project.
The project uses the Our World in Data (OWID) dataset. You can download the dataset from: https://covid.ourworldindata.org/data/owid-covid-data.csv
- Clone the repository and navigate to the project directory.
- Ensure you have Python installed along with the required libraries:
pip install pandas matplotlib seaborn plotly
- Open the COVID19_Global_Data_Tracker.ipynb file in Jupyter Notebook or any compatible IDE.
- Run the cells sequentially to load the data, analyze it, and generate visualizations.
- Python 3.x
- Libraries: pandas, matplotlib, seaborn, plotly
import pandas as pd
df = pd.read_csv('owid-covid-data.csv')
print(df.head())
import matplotlib.pyplot as plt
plt.figure(figsize=(12, 6))
for country in countries:
data = df_filtered[df_filtered['location'] == country]
plt.plot(data['date'], data['total_cases'], label=country)
plt.title('Total COVID-19 Cases Over Time')
plt.xlabel('Date')
plt.ylabel('Total Cases')
plt.legend()
plt.grid()
plt.show()
- Our World in Data for providing the dataset.
- Libraries used: pandas, matplotlib, seaborn, plotly.