config:
title: "NYC Taxi Trips"
sources:
nyc_taxi:
type: duckdb
shared: true
uri: ":memory:"
tables:
nyc_taxi: "read_parquet('s3://datasets.holoviz.org/nyc_taxi/v2/nyc_taxi_wide.parq')"
initializers:
- "INSTALL httpfs;"
- "LOAD httpfs;"
layouts:
- title: Trip Data
source: nyc_taxi
views:
- table: nyc_taxi
type: hvplot
kind: points
x: pickup_x
y: pickup_y
tiles: EsriStreet
rasterize: true
cnorm: eq_hist
responsive: true
height: 500
colorbar: false
selection_group: taxi
xaxis: null
yaxis: null
- table: nyc_taxi
type: hvplot
kind: points
x: dropoff_x
y: dropoff_y
tiles: EsriStreet
rasterize: true
cnorm: eq_hist
responsive: true
height: 500
colorbar: false
selection_group: taxi
xaxis: null
yaxis: null
- table: nyc_taxi
type: hvplot
kind: hist
y: trip_distance
bin_range: [0, 20]
height: 300
responsive: true
selection_group: taxi
- table: nyc_taxi
type: hvplot
kind: hist
y: tip_amount
bin_range: [0, 20]
height: 300
responsive: true
selection_group: taxi
- table: nyc_taxi
type: hvplot
kind: hist
y: fare_amount
bin_range: [0, 50]
height: 300
responsive: true
selection_group: taxi
sizing_mode: stretch_both
layout: [[0, 1], [2, 3, 4]]