Share
Embed
Transcript
82 slides
-
Bryan Van de Ven [email protected] @bigreddot PyBay 2016 Data Visualization
with Bokeh https://speakerdeck.com/bryanv/pybay-2016-datavis-with-bokeh -
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 -
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 -
Turtles All The Way Down Note to self: future Bokeh
app example idea -
Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and
PIL Fractint: Making pictures from math -
Prologue LOGO: Simple inputs, sophisticated outputs The Web?! mod_python and
PIL VTK: My First OSS Fractint: Making pictures from math -
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 -
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 -
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 -
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 -
Community Makes the Dream Work Damian Luke Bryan Fabio Mateusz
Havoc Almar Peter Maggie Sarah Brendan Kevin -
Community Makes the Dream Work Damian Luke Bryan Fabio Mateusz
Havoc Almar Peter Maggie Sarah Brendan Kevin New faces too: !!! -
Community Makes the Dream Work Damian Luke Bryan Fabio Mateusz
Havoc Almar Peter Maggie Sarah Brendan Kevin Special Thanks: Claire Teng, Dennis Obrien, Julia Signell, Sarah Heim, Tim Snyder, Steven Howell, Andrea Ernlund, Eric Ma, Nikola Hardi, John Dimattio, James Guillochon, Chris Coutinho, and Brigita Sipocz. New faces too: !!! -
Community Makes the Dream Work Damian Luke Bryan Fabio Mateusz
Havoc Almar Peter Maggie Sarah Brendan Kevin Special Thanks: Claire Teng, Dennis Obrien, Julia Signell, Sarah Heim, Tim Snyder, Steven Howell, Andrea Ernlund, Eric Ma, Nikola Hardi, John Dimattio, James Guillochon, Chris Coutinho, and Brigita Sipocz. New faces too: !!! -
Concentrate on your work Completely written in Python, no HTML
or CSS or “webapp” coding Server -
Concentrate on your work Completely written in Python, no HTML
or CSS or “webapp” coding Server Simple python scripts, no special classes of frameworks -
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 -
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 -
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 -
Streaming Data Today Two new data source methods: .stream to
append data incrementally to column ends .patch for random access updates anywhere -
Custom Extensions Today Add capability for… Wrapping different widgets Adapting
3D JavaScript libraries -
Custom Extensions Today Add capability for… Wrapping different widgets Adapting
3D JavaScript libraries Adding LaTeX labels -
Custom Extensions Today Add capability for… Wrapping different widgets Adapting
3D JavaScript libraries Adding LaTeX labels Community doesn’t have to wait! -
Not just for Python Today http://hafen.github.io/rbokeh Plays well with R
ecosystem: HTMLwidget, RMarkdown… -
Billions and Billions… Today Overplotting (of problems plotting large datasets)
Saturation Undersaturation -
Billions and Billions… Today Overplotting (of problems plotting large datasets)
Saturation Undersaturation Binning problems -
Datashader Today http://datashader.readthedocs.io/en/latest/ Flexible, configurable pipeline for automatic rendering Solves
problems of overplotting, underplotting, saturation -
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 -
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 -
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 -
Speaking of Dask Today http://dask.pydata.org/en/latest/ A pure Python library for
parallel and distributed computing -
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 -
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.” -
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.” -
• Arbitrary computed columns (e.g. color) • SVG output (Chrome
Headless) To be continued… -
• Arbitrary computed columns (e.g. color) • SVG output (Chrome
Headless) • NumFOCUS fiscal sponsorship To be continued… -
• Arbitrary computed columns (e.g. color) • SVG output (Chrome
Headless) • NumFOCUS fiscal sponsorship • Colorbars! To be continued… -
To be continued… (continued) • Arbitrary computed columns (e.g. color)
• SVG output (Chrome Headless) • NumFOCUS fiscal sponsorship • Colorbars! -
To be continued… (continued) • Arbitrary computed columns (e.g. color)
• SVG output (Chrome Headless) • NumFOCUS fiscal sponsorship • Colorbars! • Community repo for extensions -
To be continued… (continued) • Arbitrary computed columns (e.g. color)
• SVG output (Chrome Headless) • NumFOCUS fiscal sponsorship • Colorbars! • Community repo for extensions • Bokeh “develop” mode -
To be continued… (continued) • Arbitrary computed columns (e.g. color)
• SVG output (Chrome Headless) • NumFOCUS fiscal sponsorship • Colorbars! • Community repo for extensions • Bokeh “develop” mode -
• Binary protocol for arrays To be continued… (continued) •
Arbitrary computed columns (e.g. color) • SVG output (Chrome Headless) • NumFOCUS fiscal sponsorship • Colorbars! • Community repo for extensions • Bokeh “develop” mode -
• Binary protocol for arrays • JupyterLab integration To be
continued… (continued) • Arbitrary computed columns (e.g. color) • SVG output (Chrome Headless) • NumFOCUS fiscal sponsorship • Colorbars! • Community repo for extensions • Bokeh “develop” mode -
• Binary protocol for arrays • JupyterLab integration • 1.0
To be continued… (continued) • Arbitrary computed columns (e.g. color) • SVG output (Chrome Headless) • NumFOCUS fiscal sponsorship • Colorbars! • Community repo for extensions • Bokeh “develop” mode -
Resources • GitHub: https://github.com/Bokeh/bokeh • Documentation: http://bokeh.pydata.org/en/latest • Example Apps:
https://demo.bokehplots.com • Tutorials: http://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/index.ipynb • Mailing List: https://groups.google.com/a/continuum.io/forum/#!forum/bokeh • Gitter Chat: https://gitter.im/bokeh/bokeh -
Call to Action Install Bokeh and provide feedback • BSD
license for everything (JS, Python, server) • https://github.com/Bokeh/bokeh -
Call to Action Install Bokeh and provide feedback • BSD
license for everything (JS, Python, server) • https://github.com/Bokeh/bokeh Engage us to work on custom apps and dashboards • Code integration, analytical and visualization expertise • Feedback helps the open source efforts