Skill Zuno · skillzunos.com · Python Data Science
Bokeh interview questions
Prepare for Bokeh interviews on Skill Zuno. This practice book covers Bokeh interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.
Open Bokeh on Skill ZunoAlso see the Bokeh tutorial.
Bokeh is a Python library for interactive visualisations that render in web browsers, from simple charts to streaming dashboards and data applications. It offers a low-level glyph API, linked plots, widgets, and the Bokeh server for apps whose Python code reacts to user input. Interviews cover figures and glyphs, ColumnDataSource, interactive tools, layouts and widgets, the Bokeh server and how Bokeh compares with Plotly.
Sample Bokeh interview questions
What is a ColumnDataSource?
Bokeh's core data structure, mapping column names to lists or arrays. Glyphs read from it, and sharing one source between plots links their selections.
What is the difference between CustomJS and server callbacks?
CustomJS callbacks run JavaScript in the browser, so standalone HTML files stay interactive. Server callbacks run Python on the Bokeh server, which can use any Python library but needs a running server.
How do you link the zoom of two plots?
Share range objects, for example create the second figure with x_range=p1.x_range, so panning or zooming one updates the other.
How do you stream new data into a Bokeh plot?
In a Bokeh server app, call source.stream(new_data, rollover=N) from a periodic callback, which appends rows and keeps only the latest N.
How does Bokeh differ from Plotly?
Both make interactive browser charts. Bokeh offers a lower-level glyph model and its own server for Python-backed apps; Plotly has a richer high-level API and Dash for apps.
What you can practice
- Bokeh interview questions for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- Python Data Science topics alongside Bokeh on skillzunos.com