The Wayback Machine - https://web.archive.org/web/20240906120857/https://www.geeksforgeeks.org/introduction-to-bokeh-in-python/
Open In App

Introduction to Bokeh in Python

Last Updated : 22 Jun, 2020
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Bokeh is a Python interactive data visualization. Unlike Matplotlib and Seaborn, Bokeh renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity.
 

Features of Bokeh: Some of the important features of Bokeh are given below:

  • Flexibility: Bokeh can be used for common plotting requirements and for custom and complex use-cases.
  • Productivity: Its interaction with other popular Pydata tools (such as Pandas and Jupyter notebook) is very easy.
  • Interactivity: It creates interactive plots that changes with the user interaction.
  • Powerful: Generation of visualizations for specialised use-cases can be done by adding JavaScript.
  • Shareable: Visual data are shareable. They can also be rendered in Jupyter notebooks.
  • Open source: Bokeh is an open source project.

Interface Level: Bokeh supports different interface levels can be used by users:

  • a low-level: bokeh.models interface provides the most flexibility to application developers.
  • an intermediate-level: bokeh.plotting interface is composing of all visual glyphs.
  • a high-level: bokeh.charts interface is used to build complex plots easily.

Previous Article
Next Article

Similar Reads

Handling Categorical Data with Bokeh - Python
As a data scientist, you will often come across datasets with categorical data. Categorical data is a type of data that can be divided into distinct categories or groups. For example, a dataset might have a column with the categories "red", "green", and "blue". Handling categorical data can be challenging because it cannot be processed in the same
5 min read
bokeh.plotting.figure.diamond_cross() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like a notebook, HTML and server. Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.fig
2 min read
bokeh.plotting.figure.step() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.circle_cross() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.annular_wedge() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.arc() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.asterisk() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.bezier() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.circle() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.circle_x() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
bokeh.plotting.figure.annulus() function in Python
Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. bokeh.plotting.f
4 min read
Python - Setting up the Bokeh Environment
Bokeh is supported on CPython versions 3.6+ only both with Standard distribution and Anaconda distribution. Other Python versions or implementations may or may not function. Current version of Bokeh is 2.0.2 . Bokeh package has the following dependencies: 1. Required Dependencies PyYAML>=3.10python-dateutil>=2.1Jinja2>=2.7numpy>=1.11.3p
1 min read
Make an area plot in Python using Bokeh
Bokeh is a Python interactive data visualization. Unlike Matplotlib and Seaborn, Bokeh renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Plotting the Area Plots Area plots are defined as the filled regions betwee
2 min read
Python Bokeh – Plotting glyphs over a Google Map
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot glyphs over a Google map. A glyph is a hieroglyphic character or a symbol. To use G
3 min read
Python Bokeh – Visualizing Stock Data
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to visualize stock market data. Visualization is be done using the plotting module. Here we
3 min read
Python Bokeh - Plotting a Line Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot a line graph. Plotting a line graph can be done using the line() method of the plot
4 min read
Python Bokeh - Plotting Ellipses on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot ellipses on a graph. Plotting ellipses on a graph can be done using the ellipse() m
4 min read
Python Bokeh - Plotting Dots on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot dots on a graph. Plotting dots on a graph can be done using the dot() method of the
4 min read
Python Bokeh - Plotting Diamond Dots on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot diamond with dots on a graph. Plotting diamond with dots on a graph can be done usi
4 min read
Python Bokeh - Plotting Diamond Crosses on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot diamond with crosses on a graph. Plotting diamond with crosses on a graph can be do
4 min read
Python Bokeh - Plotting Diamonds on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot diamonds on a graph. Plotting diamonds on a graph can be done using the diamond() m
4 min read
Python Bokeh - Plotting Dashes on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot dashes on a graph. Plotting dashes on a graph can be done using the dash() method o
4 min read
Python Bokeh - Plotting Horizontal Bar Graphs
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot horizontal bar graphs. Plotting horizontal bar graphs can be done using the hbar()
4 min read
Python Bokeh - Plotting Vertical Bar Graphs
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity.Bokeh can be used to plot vertical bar graphs. Plotting vertical bar graphs can be done using the vbar() metho
4 min read
Python Bokeh – Visualizing the Iris Dataset
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to visualize the Iris flower dataset. Visualization is done using the plotting module. Here
8 min read
Python Bokeh - Plotting Hexagons on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot hexagons on a graph. Plotting hexagons on a graph can be done using the hex() metho
4 min read
Python Bokeh - Plotting Hexagon Dots on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot hexagon dots on a graph. Plotting hexagon dots on a graph can be done using the hex
4 min read
Python Bokeh - Plotting Hexagon Tiles on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot hexagon tiles on a graph. Plotting hexagon tiles on a graph can be done using the h
4 min read
Python Bokeh - Plotting Hexagon Bins on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot hexagon tiles on a graph. Plotting hexagon tiles on a graph can be done using the h
2 min read
Python Bokeh - Plotting Inverted Triangles on a Graph
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity. Bokeh can be used to plot inverted triangles on a graph. Plotting inverted triangles on a graph can be done u
4 min read
Article Tags :
Practice Tags :