pydata london bokeh tutorial - bryan van de ven
DESCRIPTION
Pydata London 2014 Bokeh Turorial given by Bryan Van de Ven.TRANSCRIPT
![Page 1: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/1.jpg)
http://cdn.pydata.org/BokehTutorial.tgz !http://cdn.pydata.org/BokehTutorial.zip
Download Tutorial Materials:
(or ask for a USB stick)
![Page 2: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/2.jpg)
Feb 21, 2014
Creating interactive browser visualizations with Bokeh
![Page 3: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/3.jpg)
About Me
• Employee at Continuum, Analytics • Open-source contributor (Bokeh, Chaco,
NumPy) • Scientific, financial, engineering domains
using Python, C, C++, etc. • Interactive Visualization of “Big Data” • Background in Physics, Mathematics
![Page 4: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/4.jpg)
About Continuum• Founded in 2012 by Travis Oliphant and Peter Wang
• Headquartered in Austin, TX
• Products, consulting, training
• “big data” analytics
• scientific & high-performance computing
• interactive visualization, dashboards, web apps
• collaborative analysis
![Page 5: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/5.jpg)
Visualization
Bokeh: Interactive, browser-based visualization for big data, driven from Python (and others!)
http://bokeh.pydata.org !
![Page 6: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/6.jpg)
Bokeh
Object-oriented JS runtime library for dynamic, novel, interactive web graphics !
Python interfaces to output static plots or drive live ones !
Interop with IPython Notebook
Interactive web viz without Javascript
![Page 7: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/7.jpg)
Bokeh• Language-based (instead of GUI) visualization system
• High-level expressions of data binding, statistical transforms, interactivity and linked data
• Easy to learn, but expressive depth for power users
• Interactive • Data space configuration as well as data selection • Specified from high-level language constructs
• Web as first class interface target
• Support for large datasets via intelligent downsampling (“abstract rendering”)
![Page 8: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/8.jpg)
Bokeh• Rich interactivity over large datasets
• HTML5 Canvas (faster than SVG)
• Handles realtime streaming and updating data
• Novel & custom visualizations
• Integration with Google Maps
• No need to learn Javascript - easy interfaces from Python & other langs
http://bokeh.pydata.org
![Page 9: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/9.jpg)
Bokeh Interface Concepts
• Plots are based on glyphs
• All or almost all visual elements of a glyph can be attached to a vector of data.
!
![Page 10: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/10.jpg)
![Page 11: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/11.jpg)
![Page 12: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/12.jpg)
![Page 13: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/13.jpg)
![Page 14: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/14.jpg)
![Page 15: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/15.jpg)
![Page 16: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/16.jpg)
Coming soon• Abstract Rendering — dynamic downsampling and
data shading for millions of points
• Contraints based layout system
• Interactive tool improvements and additional tools
• Matplotlib compatibility — use Bokeh from pandas, ggplot.py, Seaborn
• Language bindings — Scala underway, more later
• Widget interactors and plugins
![Page 17: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/17.jpg)
But don’t forget• Usability improvements
• Discoverable parameters
• Informative error messaging
• Expanded live gallery
• “Do the right thing” when it is possible
• expose capability when it’s not
Need feedback from users (you!)
![Page 18: PyData London Bokeh Tutorial - Bryan Van de Ven](https://reader033.vdocument.in/reader033/viewer/2022051613/54c684d34a795997128b45da/html5/thumbnails/18.jpg)
More information and ContributingPublic Github repos • https://github.com/ContinuumIO/bokeh • https://github.com/JosephCottam/AbstractRendering !Videos • Python & the Future of Data Analysis • Bokeh Workshop
!Blogs • http://continuum.io/blog/index • http://continuum.io/blog/painless_streaming_plots_w_bokeh • http://continuum.io/blog/realtime-analytics-twitter