MUSA-550-Fall-2020 / datashader-nyc-taxi-app

A Panel-based dashboard visualizing NYC taxi trips with Datashader and Altair

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualizing NYC Taxi Trips with Datashader, Altair, and Panel

badge badge

Click the badge above to serve the app.ipynb app on Binder, visualizing NYC taxi trip data.

This dashboard is adapted from the example dashboard on the Datashader documentation. It is meant to serve as an example of a Panel dashboard that combines several different visualization libraries.

The dashboard includes:

  • a heatmap of the taxi trips using Holoviews and Datashader
  • a histogram of the passenger counts using Altair
  • lots of Panel-based widgets for controlling the map aesthetics
  • a Holoviews selection stream that links the map x/y ranges to the histogram plot

As the user zooms in/out of the map, the Altair chart updates to show only data currently within the map viewport.

Note

The postBuild file downloads the NYC taxi dataset (https://s3.amazonaws.com/datashader-data/nyc_taxi_wide.parq). This step is specific only to this app and does not need to be included if you are working with a different dataset.

dashboard screenshot

About

A Panel-based dashboard visualizing NYC taxi trips with Datashader and Altair


Languages

Language:Jupyter Notebook 100.0%