/covid-vaccines

A Streamlit application to visualise the number of COVID vaccines done in the UK using the Altair visualisation library.

Primary LanguageJupyter NotebookCreative Commons Zero v1.0 UniversalCC0-1.0

COVID-19 vaccinations in the UK

This is a Streamlit application that makes it easier to visualise the number of COVID-19 vaccinations done in the UK across different dimensions.

Getting Started

If you want to try it out, you’ll need to first clone the repository:

git clone git@github.com:mneedham/covid-vaccines.git
cd covid-vaccines

Install Dependencies

I use pipenv to manage my projects. If you do too, you can install dependencies by running the following command:

pipenv shell

If not, you can install the dependencies using pip directly, as shown below:

pip install pandas streamlit xlrd openpyxl altair

Running the application

Once you have the dependencies install, you can launch the Streamlit app using the following command:

streamlit run app.py

You should see output similar to the following:

  You can now view your Streamlit app in your browser.

  Local URL: http://localhost:8501
  Network URL: http://192.168.86.26:8501

Now, navigate to http://localhost:8501 to view the app. If everything has worked, you should see something like the screenshot below:

screenshot
Figure 1. Screenshot of Covid Vaccinations app

The Data

The data is in the data directory and was downloaded from https://coronavirus.data.gov.uk/details/vaccinations.

  • The data for "People who have received 1st dose vaccinations, by report date" is saved as data/data_<date>-dose1.csv

  • The data for "People who have received 2nd dose vaccinations, by report date" is saved as data/data_<date>-dose2.csv