Slide 1

Slide 1 text

Bryan Van de Ven [email protected] @bigreddot PyData Seattle 2017 Bokeh and Friends https://speakerdeck.com/bryanv/pydata-seattle-2017-bokeh-and-friends

Slide 2

Slide 2 text

No JavaScript Bokeh? https://bokeh.pydata.org/en/latest Interactive visualization, widgets, and tools For the browser, with or without a server Versatile and high-level graphics Streaming, dynamic, large data

Slide 3

Slide 3 text

No JavaScript No JavaScript Bokeh? https://bokeh.pydata.org/en/latest Interactive visualization, widgets, and tools For the browser, with or without a server Versatile and high-level graphics Streaming, dynamic, large data

Slide 4

Slide 4 text

Prologue

Slide 5

Slide 5 text

Prologue LOGO: Simple inputs, sophisticated outputs

Slide 6

Slide 6 text

Turtles All The Way Down

Slide 7

Slide 7 text

Turtles All The Way Down Note to self: future Bokeh app example idea

Slide 8

Slide 8 text

Prologue LOGO: Simple inputs, sophisticated outputs

Slide 9

Slide 9 text

Prologue LOGO: Simple inputs, sophisticated outputs Fractint: Making pictures from math

Slide 10

Slide 10 text

Fractals All The Way Down

Slide 11

Slide 11 text

Prologue LOGO: Simple inputs, sophisticated outputs Fractint: Making pictures from math

Slide 12

Slide 12 text

Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and PIL Fractint: Making pictures from math

Slide 13

Slide 13 text

Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and PIL VTK: My First OSS Fractint: Making pictures from math

Slide 14

Slide 14 text

Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and PIL VTK: My First OSS Chaco: Interactive rich-client applications Fractint: Making pictures from math

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and PIL VTK: My First OSS Chaco: Interactive rich-client applications Fractint: Making pictures from math

Slide 17

Slide 17 text

Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and PIL VTK: My First OSS Chaco: Interactive rich-client applications Conda: Users pay attention Fractint: Making pictures from math

Slide 18

Slide 18 text

Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and PIL VTK: My First OSS Chaco: Interactive rich-client applications Conda: Users pay attention Bokeh: All of the above Fractint: Making pictures from math

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Community Setting the Stage

Slide 21

Slide 21 text

Community Setting the Stage

Slide 22

Slide 22 text

Community Makes the Dream Work Luke Bryan Mateusz Havoc Peter Maggie Sarah New faces too: !!!

Slide 23

Slide 23 text

Bokeh Today

Slide 24

Slide 24 text

JavaScript / TypeScript API Today

Slide 25

Slide 25 text

JavaScript / TypeScript API Today http://bokeh.pydata.org/en/latest/docs/user_guide/bokehjs.html

Slide 26

Slide 26 text

Simple (to write) Apps for Data Science Today

Slide 27

Slide 27 text

Concentrate on your work Server

Slide 28

Slide 28 text

Concentrate on your work Completely written in Python, no HTML or CSS or “webapp” coding Server

Slide 29

Slide 29 text

Concentrate on your work Completely written in Python, no HTML or CSS or “webapp” coding Server Simple python scripts, no special classes of frameworks

Slide 30

Slide 30 text

Concentrate on your work Completely written in Python, no HTML or CSS or “webapp” coding Server Simple python scripts, no special classes of frameworks Useful for exploratory analysis or sharing and publishing

Slide 31

Slide 31 text

Concentrate on your work Completely written in Python, no HTML or CSS or “webapp” coding Server Simple python scripts, no special classes of frameworks Useful for exploratory analysis or sharing and publishing Automatically mirrors and synchronizes Python and browser state

Slide 32

Slide 32 text

Concentrate on your work Completely written in Python, no HTML or CSS or “webapp” coding Connect the full PyData stack to interactive web apps Server Simple python scripts, no special classes of frameworks Useful for exploratory analysis or sharing and publishing Automatically mirrors and synchronizes Python and browser state

Slide 33

Slide 33 text

Streaming Data Today Two new data source methods: .stream to append data incrementally to column ends .patch for random access updates anywhere

Slide 34

Slide 34 text

Custom Extensions Today http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html Python class interface JavaScript implementation Normal usage

Slide 35

Slide 35 text

Custom Extensions Today Add capability for…

Slide 36

Slide 36 text

Wrapping different widgets Custom Extensions Today Add capability for…

Slide 37

Slide 37 text

Wrapping different widgets Custom Extensions Today Add capability for… Adapting 3D JavaScript libraries

Slide 38

Slide 38 text

Wrapping different widgets Custom Extensions Today Add capability for… Adapting 3D JavaScript libraries Adding LaTeX labels

Slide 39

Slide 39 text

Wrapping different widgets Custom Extensions Today Add capability for… Adapting 3D JavaScript libraries Adding LaTeX labels Community doesn’t have to wait!

Slide 40

Slide 40 text

Putting It All Together Today

Slide 41

Slide 41 text

(For the Audio Detectives) Today

Slide 42

Slide 42 text

Not just for Python Today http://hafen.github.io/rbokeh Plays well with R ecosystem: HTMLwidget, RMarkdown…

Slide 43

Slide 43 text

Bokeh Tomorrow

Slide 44

Slide 44 text

To be continued…

Slide 45

Slide 45 text

To be continued… PNG/SVG export option

Slide 46

Slide 46 text

To be continued… PNG/SVG export option PNG/SVG export option (DONE)

Slide 47

Slide 47 text

To be continued… PNG/SVG export option Network/Graph rendering PNG/SVG export option (DONE)

Slide 48

Slide 48 text

To be continued… PNG/SVG export option Network/Graph rendering Binary Array Protocol PNG/SVG export option (DONE)

Slide 49

Slide 49 text

To be continued… PNG/SVG export option Network/Graph rendering Binary Array Protocol Better JupyterLab support PNG/SVG export option (DONE)

Slide 50

Slide 50 text

To be continued… PNG/SVG export option Network/Graph rendering Binary Array Protocol Better JupyterLab support Altair/VegaLite integration PNG/SVG export option (DONE)

Slide 51

Slide 51 text

To be continued… PNG/SVG export option Network/Graph rendering Binary Array Protocol Better JupyterLab support Altair/VegaLite integration Animations and transitions PNG/SVG export option (DONE)

Slide 52

Slide 52 text

To be continued… PNG/SVG export option Network/Graph rendering Binary Array Protocol Better JupyterLab support Altair/VegaLite integration Animations and transitions BokehJS as a first-class project PNG/SVG export option (DONE)

Slide 53

Slide 53 text

To be continued… PNG/SVG export option Network/Graph rendering Binary Array Protocol Better JupyterLab support Altair/VegaLite integration Animations and transitions BokehJS as a first-class project Expand WebGL capability PNG/SVG export option (DONE)

Slide 54

Slide 54 text

To be continued… 1.0 PNG/SVG export option Network/Graph rendering Binary Array Protocol Better JupyterLab support Altair/VegaLite integration Animations and transitions BokehJS as a first-class project Expand WebGL capability PNG/SVG export option (DONE)

Slide 55

Slide 55 text

Datashader

Slide 56

Slide 56 text

Billions and Billions… Today

Slide 57

Slide 57 text

Billions and Billions… Today (of problems plotting large datasets)

Slide 58

Slide 58 text

Billions and Billions… Today Overplotting (of problems plotting large datasets)

Slide 59

Slide 59 text

Billions and Billions… Today Overplotting (of problems plotting large datasets) Saturation

Slide 60

Slide 60 text

Billions and Billions… Today Overplotting (of problems plotting large datasets) Saturation Undersaturation

Slide 61

Slide 61 text

Billions and Billions… Today Overplotting (of problems plotting large datasets) Saturation Undersaturation Binning problems

Slide 62

Slide 62 text

Datashader Today http://datashader.readthedocs.io/en/latest/ Flexible, configurable pipeline for automatic rendering

Slide 63

Slide 63 text

Datashader Today http://datashader.readthedocs.io/en/latest/ Flexible, configurable pipeline for automatic rendering Solves problems of overplotting, underplotting, saturation

Slide 64

Slide 64 text

Datashader Today http://datashader.readthedocs.io/en/latest/ Flexible, configurable pipeline for automatic rendering Solves problems of overplotting, underplotting, saturation Mitigates binning problems by affording interactivity across large datasets

Slide 65

Slide 65 text

Datashader Today http://datashader.readthedocs.io/en/latest/ Flexible, configurable pipeline for automatic rendering Statistical transforms are a first-class aspect of visualization Solves problems of overplotting, underplotting, saturation Mitigates binning problems by affording interactivity across large datasets

Slide 66

Slide 66 text

Datashader Today http://datashader.readthedocs.io/en/latest/ An independent project under the Bokeh GitHub organization Flexible, configurable pipeline for automatic rendering Statistical transforms are a first-class aspect of visualization Solves problems of overplotting, underplotting, saturation Mitigates binning problems by affording interactivity across large datasets

Slide 67

Slide 67 text

Speaking of Dask Today http://dask.pydata.org/en/latest/

Slide 68

Slide 68 text

Speaking of Dask Today http://dask.pydata.org/en/latest/ A pure Python library for parallel and distributed computing

Slide 69

Slide 69 text

Speaking of Dask Today http://dask.pydata.org/en/latest/ A pure Python library for parallel and distributed computing Comes with a Bokeh app for monitoring performance of distributed tasks

Slide 70

Slide 70 text

Speaking of Dask Today http://dask.pydata.org/en/latest/ A pure Python library for parallel and distributed computing Comes with a Bokeh app for monitoring performance of distributed tasks “Invaluable for understanding and optimizing distributed computing performance.”

Slide 71

Slide 71 text

Speaking of Dask Today http://dask.pydata.org/en/latest/ A pure Python library for parallel and distributed computing Comes with a Bokeh app for monitoring performance of distributed tasks “Invaluable for understanding and optimizing distributed computing performance.” “It's not something for which I need to go out and find a web developer to help me with.”

Slide 72

Slide 72 text

HoloViews

Slide 73

Slide 73 text

Stop Plotting Your Data Today Holoviews aims to make data analysis and visualization seamless and simple. • Express what you want to do in very few lines of code • Focus on what you are trying to explore and convey, not on the process of plotting.

Slide 74

Slide 74 text

Stop Plotting Your Data Today Holoviews aims to make data analysis and visualization seamless and simple. • Express what you want to do in very few lines of code • Focus on what you are trying to explore and convey, not on the process of plotting.

Slide 75

Slide 75 text

Annotate Your Data Today

Slide 76

Slide 76 text

Compositional Layout Today

Slide 77

Slide 77 text

Slice and Dice Today

Slide 78

Slide 78 text

Easily Interact Today

Slide 79

Slide 79 text

Easily Interact Today

Slide 80

Slide 80 text

Easily Interact Today

Slide 81

Slide 81 text

Easily Interact Today

Slide 82

Slide 82 text

• Bokeh • GitHub: https://github.com/bokeh/bokeh • Documentation: http://bokeh.pydata.org/en/latest • Example Apps: https://demo.bokehplots.com • Mailing List: https://groups.google.com/a/continuum.io/forum/#!forum/bokeh • Gitter Chat: https://gitter.im/bokeh/bokeh • Datashader • GitHub: https://github.com/bokeh/datashader • Documentation: http://datashader.readthedocs.io/en/latest/ • HoloViews • GitHub https://github.com/ioam/holoviews • Documentation: http://holoviews.org Resources

Slide 83

Slide 83 text

Call to Action Install Bokeh, Datashader, and HoloViews and provide feedback • BSD license for everything (JS, Python, Server, Notebooks)

Slide 84

Slide 84 text

Call to Action Install Bokeh, Datashader, and HoloViews and provide feedback • BSD license for everything (JS, Python, Server, Notebooks) Get involved! (contribute code, examples, docs, support) • Hours/day is fixed, only more people can accelerate development

Slide 85

Slide 85 text

Call to Action Install Bokeh, Datashader, and HoloViews and provide feedback • BSD license for everything (JS, Python, Server, Notebooks) Engage us to work on custom apps and dashboards • Feedback helps the open source efforts Get involved! (contribute code, examples, docs, support) • Hours/day is fixed, only more people can accelerate development

Slide 86

Slide 86 text

No content