Giter VIP home page Giter VIP logo

covidvisuals's Introduction

Covid-19 Visualization around Namibia

Developing automatic dashboards which allows users to query and customize visualisations with dash and flask

Preparation

  • In the project folder, create a folder dataset/raw/ and place your xlsx data files there.

Running the program

NB: Any line that starts with $ indicates that the following text should be executed in the terminal/CMD prompt.

  • Open up the Terminal or CMD, navigate to the covidVisuals directory location (replace folder/folder with the correct location) by...

    $ cd folder/folder/covidVisuals
    
  • Install pip3

    # Linux
    $ sudo apt-get install python3-pip
    
  • Install virtualenv

    # Linux
    $ sudo apt-get install virtualenv
    
    # Mac OS
    $ sudo -H pip install virtualenv
    
    # Windows
    $ pip install virtualenv
    
  • Create a virtual environment

    # Mac OS / Linux
    $ virtualenv -p python3 venv
    
    # Windows
    $ python3 -mvenv venv
    
  • Activate the environment

    # Mac OS / Linux
    $ source venv/bin/activate
    
    # Windows
    $ venv\Scripts\activate
    
  • Install the requirements.txt

    # openpyxl is a dependency for Pandas
    $ pip install openpyxl
    
    # Mac OS / Linux
    $ pip3 install -r requirements.txt
    
    # Windows
    $ python3 -m pip install -r requirements.txt
    
  • Run the script...

    $ python3 app.py
    
  • Click the localhost link to view the webpage

Installing or updating packages

  • Go to folder

    $ cd folder/folder/covidVisuals
    
  • Activate env

    # Mac OS
    $ source venv/bin/activate
    
    # Windows
    $ venv\Scripts\activate
    
  • Install or update package

    # specific command
    
  • Update requirements.txt

    $ pip freeze > requirements.txt
    

Resources

LIVE WEB APP HOSTED ON HEROKUAPP

Inspiration

Deploying to heroku

covidvisuals's People

Contributors

muhokoorg avatar

Watchers

Blackhearted_wolf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.