Coder Social home page Coder Social logo

infovisg33's Introduction

InfoVisG33

Code for Group 33 Bokeh python implementation of InfoVis Project IN4086-14

Team members:

Data

The happiness report data is available on Kaggle.

Project structure

The project tree is displayed bellow:

infovis_app
│   
│   main.py    
│
└───data
│   │   2015.csv
│   │   2016.csv
│   │   2017.csv
│   │   country_mapping.csv
│   └───
└───static
│   │   happy.jpg
│   │   sad.jpg
│   │   neutral.jpg
│   └───
└───tabs
    │   factors_tab.py
    │   world_map_tab.py
    │   tabs_utils.py
    └───     

Environment

The application can be run in Anaconda Windows environment. After installing anaconda, an python 3.5 enviroment needs to be created:

conda create -n datavis_prj python=3.5 numpy pandas scipy

After creating datavis_prj enviroment, we activate it and install the following additional packages:

activate datavis_prj
conda install -c conda-forge geopandas
conda install -c bokeh bokeh 
conda install requests

If you encounter problems with fiona package, you should uninstall it and install 1.6 version:

conda uninstall fiona
conda install fiona=1.6

Run

Clone this repository and save all the files and folders into a directory named infovis_app. At the end of this setup step you should have the following files in your working directory:

(folder) infovis_app
    (folder) data
    (folder) static
    (folder) tabs
    (file) main.py

To run the application, inside datavis_prj enviroment from the parent directory of infovis_app folder, type the following command:

bokeh serve infovis_app -- show

Demo

App demo

Inspiration

Bokeh tutorial

Bokeh docs

World happiness visualization

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.