Dash for Crime

Using Dash by Plotly for Interactive
Visualisation of Crime Data

Leo Broska -- PyCon AU 2019

Twitter: @halloleo     Github: github.com/halloleo

"Just put these numbers into a graph."

Dash by Plotly

  1. What is Dash?

  2. Live demo

  3. More is possible

  4. Wrap it up

What is Dash?

Dash is a framework for building analytical web apps

No JavaScript required.

Plotly

  • (Plotly Express)  

React

Flask

  • Plotly
  • React
  • Flask
  • Dash

Live Demo

  • Recap
  • 1.  fig = px.line(...
  • 2.  @app.callback(...

More is possible

Modularise graphs in components

Many chart types with sensible defaults

  • Challenges
  • Multi-page sites awkward to code
  • Rendering can be slow...

Wrap it up

Dash builds beautiful
analytical web apps

Pure Python. No JavaScript required. Really.

Browser speed critical for
end-user experience

Twitter: @halloleo     Github: github.com/halloleo