Add dataset README
Browse files
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- geospatial
|
| 5 |
+
- taxi
|
| 6 |
+
- new-york-city
|
| 7 |
+
- osrm
|
| 8 |
+
size_categories:
|
| 9 |
+
- 1M<n<10M
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Carbon Clock — Manhattan · Trip data
|
| 13 |
+
|
| 14 |
+
Trip data for [**The Carbon Clock — Manhattan**](https://github.com/NirmitSachde/the-carbon-clock-manhattan), a 24-hour animated visualization of NYC traffic, emissions, and air quality.
|
| 15 |
+
|
| 16 |
+
This dataset hosts the largest trip-tier binary that exceeds GitHub Pages' practical cross-origin limits. The smaller tiers (25 K / 100 K / 500 K) live in the repo itself.
|
| 17 |
+
|
| 18 |
+
## File: `trips-2m.bin`
|
| 19 |
+
|
| 20 |
+
- **2,933,898 trips** — every yellow-taxi ride that started and ended in Manhattan during **January 2025**
|
| 21 |
+
- Source: [NYC TLC Yellow Taxi Trip Records](https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page)
|
| 22 |
+
- **2,933,750 trips routed through OpenStreetMap roads via OSRM v5** (148 kept their straight-line endpoints — 99.995% success)
|
| 23 |
+
- Geometry simplified with Douglas–Peucker (30 m tolerance) — preserves every turn, drops collinear noise
|
| 24 |
+
- 20,489,760 total waypoints, average 7.0 per trip
|
| 25 |
+
- Format: custom binary `CCM1` — Uint32 offset table + RGBA color per trip + Float32 [lng, lat, seconds-since-midnight] per waypoint
|
| 26 |
+
- ~40% the size of equivalent JSON
|
| 27 |
+
- Parses ~10× faster (zero JSON.parse cost; the points decode directly to a Float32Array that's pushed straight to the GPU as a Deck.gl `TripsLayer` data buffer)
|
| 28 |
+
- Size: ~257 MB
|
| 29 |
+
|
| 30 |
+
## How it's used
|
| 31 |
+
|
| 32 |
+
The frontend at https://nirmitsachde.github.io/the-carbon-clock-manhattan/ fetches this file when the user selects the "Everything · 2.9 M" tier from the dropdown. Hugging Face's CORS headers make the cross-origin fetch work without any proxy.
|
| 33 |
+
|
| 34 |
+
## License
|
| 35 |
+
|
| 36 |
+
MIT for the binary format and processing pipeline. The underlying taxi data is from NYC TLC and remains public domain.
|