metadata
title: NYC Taxi Mobility Equity Dashboard_Solara
colorFrom: blue
colorTo: green
sdk: docker
pinned: true
license: mit
NYC Mobility Equity Dashboard
Debayan Mandal
An interactive Solara dashboard analyzing whether FHV and Yellow Taxi services are equitably distributed across NYC neighborhoods relative to demographic baselines.
Features
- Pickup & Drop-off choropleth maps for FHV and Yellow Taxi by month
- Diverging demographic maps showing deviation from citywide population baselines
- Top-10 stats tables split by service and direction
- Month dropdown to explore Jan–Mar 2025 data
Data Sources
- NYC TLC Trip Record Data (parquet via CloudFront)
- NYC Taxi Zones (Source Cooperative)
- NYC Census Blocks (OpenGeos)
Architecture
| File | Purpose |
|---|---|
data_pipeline.py |
DuckDB setup, spatial joins, trip ingestion, relative risk |
dashboard_helpers.py |
Reusable map and stats-table builder functions |
app.py |
Main Solara application and UI component script |
Dockerfile |
Container setup for Hugging Face Spaces deployment |
Local Development
To run this dashboard locally, you must first build the pre-computed DuckDB database, and then launch the Solara server.
# 1. Install dependencies
pip install -r requirements.txt
# 2. Run the pipeline to fetch data and generate processed_dashboard.db
python data_pipeline.py
# 3. Launch the hot-reloading Solara development server
solara run app.py