In the year 2020 the Coronavirus swept the globe. The disease has been detected in more than 200 countries, and there are over 5 million reported cases.
This project explores how the pandemic affected Scotland, answers the following questions:
- Has Scotland passed the peak?
- Are areas of deprivation more impacted by Coronavirus?
- Which areas have been most affected and why?
The following conclusions can be drawn from the data:
- The peak number of deaths in Scotland happened in April.
- The more deprived an area is, the more people are likely to die of coronavirus.
- There are considerably more cases in densely populated areas than in sparsely populated areas.
- There is no correlation between the land area of a concil area, and the number of cases.
An article on the results can be found here
This project contains both a Jupyter Notebook (ScotlandDeaths2020.ipynb), and python file versions of the project (ScotlandDeathsAnalysis.py, ScotlandAreaAnalysis.py). The same content is contained in both.
The following libraries were used:
- pandas
- matplotlib.pyplot
- datetime
- numpy
- seaborn
Thanks to NHS Scotland, the Scottish government, and the National Records of Scotland for providing the data for this project.
The following data sources are used in this project:
This project was created by Alice Elder.