Giter Club home page Giter Club logo

bokeh-tutorial's Introduction

Bokeh-Tutorial

Bokeh is a library for creating interactive data visualizations in a web browser. It offers a concise, human-readable syntax, which allows for rapidly presenting data in an aesthetically pleasing manner.

Bokeh Basics

This notebook is a basic tutorial on how to build your first bokeh plot.

Note: The .ipynb file in github does not display the plots (refer to this link for further details). The html version can be found here which show all the bokeh plots.

Bokeh Part2

This notebook shares steps on how to stack multiple plots in vertical, horizontal or a mix of both alignment. Next, the noteball also shares examples on how to create different type of widgets using bokeh.

Note: The .ipynb file in github does not display the plots (refer to this link for further details). The html version can be found here which show all the bokeh plots.

Bokeh App

Bokeh server makes it easy to create interactive web applications that connect front-end UI events to running Python code. Bokeh creates high-level Python models, such as plots, ranges, axes, and glyphs, and then converts these objects to JSON to pass them to its client library, BokehJS.

The bokeh_app.py is a sample code which uses:

  • the plots generated in the Bokeh Basics notebook
  • then uses the concepts of stacking of plots from the Bokeh Part2 notebook
  • and shows how to host these plots on a local bokeh server

In order to launch the app:

  • Open anaconda prompt
  • Activate the python env that has all the relevant necessary packages neeeded for the code/plot
  • Navigate to the folder directorty that has the plot code (in this case bokeh_app.py) by using the cd unix command
  • Execute this command bokeh serve --show bokeh_app.py to start your bokeh application
  • A window should open up on your default browser with the plot

References:

  1. https://docs.bokeh.org/en/latest/
  2. https://programminghistorian.org/en/lessons/visualizing-with-bokeh

bokeh-tutorial's People

Contributors

tauseef1234 avatar

Watchers

 avatar

Forkers

yon23

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.