Creating scatter plots with Bokeh-Scala

In this section, we'll take a brief look at the most popular visualizing framework in Python, called Bokeh, and use its (also fast-evolving) Scala bindings to the framework. Breeze also has a visualization API called breeze-viz, which is built on JFreeChart. Bokeh is backed by a JavaScript visualization library, called BokehJS. The Scala bindings library bokeh-scala not only gives an easier way to construct glyphs (lines, circles, and so on) out of Scala objects, but also translates glyphs into a format that is understandable by the BokehJS JavaScript components. The various terms in Bokeh actually mean the following:

  • Glyph: All geometric shapes that we can think of--circles, squares, lines, and so on - are ...

Get Apache Spark for Data Science Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.