A python script that grabs the current COVID-19 data from various GitHub repos that track the spread and displays visual representations based on GUI input (tkinter). My first attempt at data visualization with python.
Be sure to have gnuplot installed on your system:
Download the latest version of the installer from gnuplot site.
Run the downloaded file and allow it to run as administrator if requested
On the setup window select the language and follow the instructions on screen.
(optional) During the installation you may select the gnuplot to be added to the PATH that will allow you to run commands from anywhere on the command line. If you choose not to do so you may add it manually later or cd to the gnuplot installed directory prior to running commands.
The default installation location of gnuplot on Windows is C:\Program Files (x86)\gnuplot
NOTE: the filename will be of the format: gp<version>-win32-mingw.exe
The installation on Linux can be done through the different package managers as follows.
$ sudo pacman -S gnuplot
$ sudo apt-get update
$ sudo apt-get install gnuplot
$ sudo yum check-update
$ sudo yum install gnuplot
$ sudo dnf check-update
$ sudo dns install gnuplot
Using Homebrew
$ brew install gnuplot
Using MacPorts
$ sudo port install gnuplot
Run this command to install dependencies:
pip3 install -r requirements.txt
Navigate to the src
folder and run the main file with:
python3 main.py
NYC Coronavirus Disease 2019 (COVID-19) Data https://github.com/nychealth/coronavirus-data
Coronavirus (Covid-19) Data in the United States https://github.com/nytimes/covid-19-data/