Bokeh in one line: Bokeh is a Python plotting library for making interactive charts that look good in web browsers.
Bokeh is a Python library used to make interactive charts, plots, and visualizations. It allows developers to define their visualizations and other graphics in Python and export them to HTML files, where they run in JavaScript.
Python has many different libraries for plotting and visualization, each with different strengths. Bokeh focuses on performance and interactivity. Specifically, Bokeh claims to “write the JavaScript so you don’t have to”: developers building visualizations with Bokeh can focus on Python instead of switching between Python and JavaScript. Bokeh also aims to be both simple and powerful, exposing both a high-level API (bokeh.plotting) and a low-level one (bokeh.models).
Developers often manipulate and analyze data in Python, but then need to share the results with others. Although other Python plotting libraries like matplotlib excel at creating visualizations as static image files (for example, png files), it’s often difficult to share more complicated data dashboards and interactive visualizations. As nearly everyone has access to a web browser, building visualizations in HTML and JavaScript is a good way to reach a wide audience. Instead of manipulating data in Python and writing visualizations in JavaScript, Bokeh allows programmers to write in Python and then automatically exports these to interactive HTML dashboards.