COVID-19 Data Insights
From Importing and Modeling Data to Building Interactive Dashboards in Excel
Author: Kagna Em
Date: June 2025
Methodology
Importing Data
Creating Data Tables
Date Table
Data Modeling
Creating DAX Measures and Calculating Columns/Tables
Generating Pivot Tables & Visuals�
DATA SOURCES
�This dataset contains historical records from late 2019 to 14 December 2020, reporting the daily number of newly confirmed COVID-19 cases and deaths worldwide. In addition to case and death counts by country, attributes such as country name, country code, and geographical coordinates (longitude and latitude) are essential for enabling geographic visualizations.
This analysis is based on three primary resources:
��
COVID-19 DATA SET
The dataset from ECDC was provided in CSV format and contains daily reports of COVID-19 cases and deaths across the world, along with country population, continent, and 14-day cumulative case rates. The records span from late 2019 through the end of 2020, totaling approximately 61,900 entries, as illustrated below:��
GEOGRAPHICAL COORDINATES
An additional table contains the geographical coordinates of 197 countries and territories. It serves as a dimension table in the data model, with GeoID as the primary key used to establish a relationship with the main fact table, covid-data, sourced from ECDC.��
A BLANK WORLD MAP
A world map will be included in the visualization at a later stage.�
CREATING DATA TABLE
The purpose of this exercise is to utilize data modeling and database features in Power Pivot within Microsoft Excel, rather than analyzing the data directly through a basic PivotTable. To achieve this, all relevant datasets must be converted into data tables and properly connected within a structured data model.��
CALENDAR / DATE TABLE
A Date table (named Calenda in this model) is essential for time-series analysis, periodic automation, and convenient date-based reporting. It can be generated using the built-in wizard or created manually using DAX calculations.��
DATA MODELING
Data modeling was introduced in Excel through the Power Pivot feature, transforming Excel from a simple spreadsheet tool into a lightweight relational database. In this exercise, the covid-data table serves as the fact table, while Calendar, CountryGeo, and CountryAndTerritory function as dimension tables within the data model as shown here.��
DAX MEASURES
DAX enables powerful calculations and cross-table lookups within the data model. For example, the covid-data table retrieves Longitude and Latitude values from the CountryAndTerritory table using a common GeoID key. In addition to lookups, DAX is used to compute key metrics such as Total Cases, Total Deaths, Case Rate, and Death Rate, enhancing analytical insights across the dataset.��
PIVOT TABLE FROM DATA MODEL
Once a proper data model is in place, generating PivotTables becomes more convenient and flexible. Columns, rows, and values can be sourced from different tables within the data model, as illustrated here:
VISUALIZATION
There are many ways to visualize this data. In this exercise, the primary focus is on data modeling, DAX calculations using Power Pivot, and generating insights through visualization based on the provided dataset. The figure below demonstrates how the data is structured, analyzed, visualized, and interpreted to support effective storytelling.��
Total COVID-19 Cases Over Time
Observation:
Total COVID-19 Cases Over Time
Insight:
Global Distribution of COVID-19 Cases Worldwide
Observation:
Global Distribution of COVID-19 Cases Worldwide
Insight:
Total COVID-19 Deaths Over Time
Observation:
Total COVID-19 Deaths Over Time
Insights:
Global Distribution of COVID-19 Deaths
Observation:
Global Distribution of COVID-19 Deaths
Insights
SUMMARY
Key findings include:
SUMMARY
Key Takeaways