Learn Power BI with Real-World Data COVID-19, Air Quality and Population Growth
Exercise 1. COVID-19 Data Analysis: A Study of Tracking COVID-19 Cases Across U.S. Counties
This was to plot and analyze the spread of COVID-19 over time across U.S. counties.
Source of Data:
•Dataset: COVID-19 Data (Johns Hopkins University)
•Download Link: COVID-19 Data
Solution Steps:
1. Downloading Dataset.
•Click on COVID-19 Data (Johns Hopkins) to download the data.
2. Importing Data to Power BI:
•Start Power BI Desktop.
•Go to the Home tab, select Get Data > Web.
•Paste the URL: https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/jhucsse_county_level/us_county_level.csv into the web field and click OK.
•Power BI will pull the data from this URL into the workspace.
3. Create Visualizations:
-Line-Chart for Cases Over-Time: To monitor and show the increasing track of COVID-19 cases, place the Date field into Axis and the Confirmed field into Values. Apply a filter for a specific county to see its trend.
-Bar Charts for Deaths by County: Place County into Axis and Deaths into Values to create a bar-chart. It shows counties with the most deaths.
-Map Visualization: For geographical visualization of the pandemic flows, use the Map
visualization. Place Counties into Location field and Confirmed cases into the Size field. This will show a geographical map of the U.S. with bubble sizes showing the number of confirmed cases.
4. Analyses:
-Trends for COVID-19-Cases for different counties over time.
-Identify areas having the most confirmed cases and deaths.
-Visualize and compare-Data using a Bar chart and Map across counties.
Excercise 2. Air Quality Data Analysis: Monitoring Pollution Levels
Monitoring the air quality in various cities and polluting trends over time was the objective.
Data Source:
•Dataset: Air Quality Data (OpenAQ)
•Download link: Air Quality Data
Solution Steps:
1.Download the Dataset:
oDownload the data from OpenAQ - Air Quality.
2.Import Data into Power BI:
oOpen Power BI Desktop.
oGo to Home > Get Data > Web.
oPaste the URL: https://raw.githubusercontent.com/openaq/openaq-fetch/master/data/australia/2020-11-01.csv and click OK.
Or
https://github.com/openaq
oClick Load to bring the data into your Power BI workspace.
3.Create Visualizations:
oLine Chart for PM2.5 Levels: Drag Date to the Axis and Value to the Values. Filter for PM2.5 to track this specific pollutant’s trends over time.
oBar Chart for Air Quality by City: Drag City to the Axis and Value to the Values. Filter the Parameter field to show PM10 and NO2. This will display the air quality levels for different cities.
oScatter Plot: Use a scatter plot to compare the levels of various pollutants. Drag Value to both the X-axis and Y-axis, and use Parameter as the legend to differentiate between different pollutants.
4.Analysis:
oTrack the trends of PM2.5 levels and identify cities with high pollution.
oCompare different pollutants and see how they impact air quality across various locations.
oDiscover which cities are most affected by specific pollutants and how pollution fluctuates over time.
Excercise 3. Global Population Growth Analysis
Objective: Analyze and visualize population growth across different countries over time.
Data Source:
-Dataset: World Population Data
-Download Link: World Population Data
Step-by-Step Solution:
1.Download the Dataset:
oDownload the population data from the following link: World Population Data.
2.Import Data into Power BI:
oOpen Power BI Desktop.
oGo to Home > Get Data > Web.
oPaste the URL: https://raw.githubusercontent.com/datasets/population/master/data/population.csv into the field and click OK.
oPower BI will automatically load the data for you to start working with.
3.Create Visualizations:
oBar Chart for Population by Country: Create a bar chart by dragging Country to the Axis and Value (population) to the Values. Filter for Year 2020 to display the population for each country in that year.
oLine Chart for Population Growth: Track population growth over time by dragging Year to the Axis and Value (population) to the Values. Filter the chart by a specific country to observe its growth trend.
oMap Visualization for Population Distribution: Use the Map visualization to display the population distribution worldwide. Drag Country to the Location field and Value to the Size field.
4.Analysis:
oIdentify which countries have the largest populations in 2020.
oTrack the population growth trends for specific countries (e.g., China, India) over the years.
oVisualize the global distribution of population using the map to see the relative population sizes across continents and countries.
Conclusion
These practical exercises will help you build useful skills in Power BI while analyzing real-world datasets. Following these steps will give you a better understanding of how to work with data in Power BI and build meaningful visualizations.
Previous Topic==> Editing queries in Power query ||
Next Topics==> Basic Data Transformation Using Power Query
Other Topic==>Banking Account Management Case Study in SQL
SQL All topics Wise Interview Questions
Employee Salary Management SQL FAQ!. C FAQ
Top 25 PL/SQL Interview Questions
Joins With Group by Having
Equi Join
Joins with Subqueries
Self Join
Outer Join