Giter Club home page Giter Club logo

build-an-interactive-data-analytics-dashboard-with-python-oreilly's Introduction

Build an Interactive Data Analytics Dashboard with Python

Live Course with Teddy Petrou

Getting setup before the course

It is vital that your machine is setup properly before the start of the course. You will need to complete the following instructions.

  1. Verify you have Python 3.9+
  2. Download the course material from the GitHub repository
  3. Create the virtual environment
  4. Launch the dashboard

Verify you have Python 3.9+

  1. Open your terminal/command prompt
  2. If you installed Anaconda or Miniconda
    1. You should have a base environment
    2. Verify it is active by verifying that (base) is prepended to your prompt
    3. Run python --version to output the version
    4. If you have Python 3.8 or less upgrade by doing the following:
      1. Run conda create -n py310 python=3.10
      2. Run conda deactivate
      3. Run conda activate py310
      4. Now the python command is mapped to Python 3.10
  3. If you don't use Anaconda or Miniconda you will need to verify you have at least Python 3.9 and complete an upgrade if necessary on your own

Clone the GitHub repository

  1. Navigate to the course page and click on the green code button
  2. Click on the Download ZIP link from the dropdown menu. If you know git, you can clone the repository
  3. Unzip the contents and move the folder to a proper location in your file system (i.e. do not keep it in your downloads folder)

Create the virtual environment

  1. Using the cd command
    1. Navigate to the folder you just unzipped and moved from above
    2. Navigate into the project directory
  2. Run the command python -m venv dashboard_venv. This creates a new virtual environment named dashboard_venv
  3. Deactivate the conda environment with conda deactivate
  4. Activate the virtual environment with the following command:
    1. Mac/Linux - source dashboard_venv/bin/activate
    2. Windows - dashboard_venv\Scripts\activate.bat
  5. There should be (dashboard_venv) prepended to your prompt
  6. Run pip install -U pip to upgrade pip to the latest version
  7. Run pip install -r requirements.txt to install all the necessary packages into this environment. This will take some time to complete

Launch the dashboard

  1. Run the command python dashboard.py
  2. The following text should be printed to the screen - Dash is running on http://127.0.0.1:8050/
  3. Open your web browser and navigate to 127.0.0.1:8050
  4. You should see the coronavirus forecasting dashboard

2

build-an-interactive-data-analytics-dashboard-with-python-oreilly's People

Contributors

tdpetrou 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.