Part 1: Interactive visualisations
Andrey Vykhodtsev anvykhod@Microsoft.com
Cloud Solution Architect, Data & AI
PyDataLjubljanaMeetup#3
Agenda
 Welcome to PyData meetup #3!
 This group is sponsored by PyData &
NumFocus
 Snacks and venue are provided by
 Agenda
 Part 1: Interactive visualisations with
Bokeh, Plotly, Dash and Flask (30-40
min)
 Part 2: Automation and measurements
with Python (30-40 min)
Agenda(part1)
 Bokeh hands-on overview
 What is bokeh
 Main structures
 Data Sources
 Applications
 Plotly & Dash
 Quick intro to Plotly and Dash
 Examples and demos
 Embedding your visualizations into Flask
applications
 Publishing your Flask apps to Azure App Services
WhatisBokeh
 Python library for building rich interactive
visualizations
 Translated to JS (BokehJS)
 Can be embedded into a web app or distributed
standalone
BokehBasics
 Installation & getting started
 Glyphs
 Models
 Widgets
 Tools
Buildingbasic
plots
 Custom Dataset link1
 Bar chart
 Line charts & Time Series (my Kaggle example)
 Scatterplots
 Multiple plot layout
DataSources,
Filtering,
Interactivity
 ColumnDataSource
 Filtering
 Interactivity
 Linked panning
 Linked Brushing
 Filtering
 Tools
 Hover
 Panning
 Zooming
 Selection tools
Bokehwidgets
andapplications
 Controls
 Server
 Running apps
 Embedding
HighLevel
Charts
 Box Plots
 Histograms
 Sunburst
 Treemap
 Heatmap
 Geo Data & Datashader
 Graphs & NetworkX integration
High Level
Charts
 Holoviews
 Bokeh examples
PlotlyQuick
intro
 Plotly offline getting started link
DashQuick
intro
 Dash getting started
Flask
Microframework
 Easy framework for python
 Supported by all major cloud platforms
Embedding
BokehintoFlask
app
 More than one way to do it
 Bokeh server
 Flask server talks to bokeh server
Publishing to
AzurewithDocker
&AzureApp
Service
 Easiest way is via docker container
Linkssupporting
this
presentation
 Bokeh Documentation
 Bokeh Gallery
 Holoviews
 Plotly offline for Python
 Introducing Dash Article
 Dash Documentation and Github
 Python visualization landscape presentation and slides
 Altair main page
Questions please

20170927 py data_n3_bokeh_plotly