Skip to content

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

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks