COVID-19 Statistics Dashboard
- Node.js
https://nodejs.org/en/download/
- Python 3
https://www.python.org/downloads/
- Clone the repo
git clone https://github.com/stfurkan/pancovid19.git
- Install Python package
pip3 install pandas pmdarima
- Change directory to client
cd client
- Install NPM packages
npm install
- Change directory to client
cd client
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
- Change directory to python
cd python
- Run createCovidJson.py file to create JSON files for the client
python3 createCovidJson.py
- Run forecast.py file to create forecast JSON files
python3 forecast.py
- Copy JSON files to client/src directory
cp covid.json ../client/src/.
cp graph.json ../client/src/.
cp covidForecast.json ../client/src/.
cp graphForecast.json ../client/src/.
cp updated.json ../client/src/.
- If you want to get most up to date data into the JSON files, you should update your datasets from JHU CSSE.
- Shows total confirmed, recovered and death COVID-19 cases by country
- Shows daily statistics for every country
- Shows forecasts using ARIMA model
- Compares up to 4 countries
- Total data for all countries and daily data for every country can be exported as CSV
- Charts
- Map
- Supports Turkish and English languages (based on browser language)
- Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- React - A JavaScript library for building user interfaces.
- Python3 - Python is a programming language that lets you work quickly and integrate systems more effectively.
- Fork the project
- Create your branch (
git checkout -b feature/featureName
) - Commit your changes (
git commit -m 'Short details about the change'
) - Push to the branch (
git push origin feature/featureName
) - Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details
- This application uses the data provided by JHU CSSE.