Nyc taxi-nongeo¶
View a running version of this notebook. | Download this project.
Plotting non-geographic data¶
Most of the datashader examples use geographic data, because it is so easily interpreted, but datashading will help exploration of any data dimensions. Here let's start by plotting trip_distance
versus fare_amount
for the 12-million-point NYC taxi dataset from nyc_taxi.ipynb.
In [1]:
import numpy as np
import holoviews as hv
import holoviews.operation.datashader as hd
import datashader as ds
from holoviews import opts
hv.extension('bokeh')