Debayan Mandal
Initial Dashboard Deployment
dd79a40
---
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](https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page) (parquet via CloudFront)
- [NYC Taxi Zones](https://data.source.coop/cholmes/nyc-taxi-zones/) (Source Cooperative)
- [NYC Census Blocks](https://opengeos.org/data/duckdb/nyc_data.db.zip) (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.
```bash
# 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