M
MercyNews
Home
Back
Interactive Citi Bike Visualization Shows 291 Million Rides
Technology

Interactive Citi Bike Visualization Shows 291 Million Rides

Hacker News6d ago
3 min read
📋

Key Facts

  • ✓ The project visualizes 291 million Citi Bike rides.
  • ✓ It runs without a backend, using DuckDB WASM and Cloudflare CDN.
  • ✓ Users can search for rides using Cmd + K and receipt details.
  • ✓ Routes are generated using OSRM for 2,400+ station pairs.

In This Article

  1. Quick Summary
  2. Visualizing 291 Million Rides
  3. Technical Architecture
  4. Route Generation and Data

Quick Summary#

A massive visualization project has been released, displaying the complete history of Citi Bike rides. The project tracks 291 million individual trips, allowing users to view the flow of bikes across the network.

The tool is entirely open source and runs in the browser without a backend. It utilizes DuckDB WASM to query data stored on a Cloudflare CDN, ensuring high performance and accessibility.

Users can search for their specific ride using the Cmd + K shortcut and details from their receipt. The visualization uses deck.gl with Mapbox for rendering thousands of concurrent animated bikes.

Visualizing 291 Million Rides#

The project represents each bike ride as a moving arrow on a map, creating a dynamic view of the bike-share network's history. With a total of 291 million rides visualized, the tool offers a unique perspective on urban mobility.

Users can interact with the data directly. By pressing Cmd + K, they can search for their specific ride using details found on a Citi Bike receipt, specifically the time of the ride and the start and end station names.

Every moving arrow represents a real bike ride, meaning anyone who has used the service is included in the visualization. The project highlights the scale of the Citi Bike system in the USA.

Technical Architecture#

The visualization achieves its performance through a specific technical stack designed for efficiency. A key feature is that there is no backend required for the application to function.

Data processing relies on parquet files stored on a Cloudflare CDN. These files are queried directly by DuckDB WASM, allowing complex data analysis to happen client-side.

For rendering, the project uses deck.gl combined with Mapbox. This combination enables GPU-accelerated rendering, which is necessary to handle thousands of concurrent animated bikes without lag.

Background processing is handled by Web Workers. These workers decode polyline routes and perform as much precomputation as possible off the main thread to maintain a smooth user experience.

Route Generation and Data#

The visualization faces a specific data challenge: the source data only provides start and end station pairs, not the actual paths taken. To solve this, the project generates realistic routes.

Routes are created by querying OSRM (Open Source Routing Machine). The system calculates the shortest path between all 2,400+ station pairs to animate the bikes accurately.

The project is fully open source and available on GitHub. This allows developers to inspect the code, understand the implementation details, or contribute to the project.

Continue scrolling for more

AI Transforms Mathematical Research and Proofs
Technology

AI Transforms Mathematical Research and Proofs

Artificial intelligence is shifting from a promise to a reality in mathematics. Machine learning models are now generating original theorems, forcing a reevaluation of research and teaching methods.

Just now
4 min
166
Read Article
Musk vs. Altman: April Trial Date Set for AI Showdown
Technology

Musk vs. Altman: April Trial Date Set for AI Showdown

The long-running feud between Elon Musk and Sam Altman is heading to a federal courtroom in Oakland this spring. A judge has scheduled a jury trial for April, setting the stage for a major showdown over OpenAI's evolution.

3h
5 min
2
Read Article
Technology

A consumer watchdog issued a warning about Google’s AI agent shopping protocol — Google says she’s wrong

A consumer economics watchdog says Google's new Universal Commerce Protocol is ripe for misuse where consumers could pay more for items. Google denies this.

3h
3 min
0
Read Article
Technology

Ring's AI Evolution: The Rise of the Intelligent Assistant

AI is ushering in Ring’s next chapter, as the Amazon-owned video doorbell maker shifts toward becoming an 'intelligent assistant.'

4h
5 min
6
Read Article
Tennessee Man to Plead Guilty in Supreme Court Hack
Crime

Tennessee Man to Plead Guilty in Supreme Court Hack

A 24-year-old Tennessee man is set to admit to accessing the Supreme Court's electronic filing system without authorization dozens of times throughout 2023.

4h
5 min
6
Read Article
Dell Announces Biggest Transformation in 42-Year History
Economics

Dell Announces Biggest Transformation in 42-Year History

Dell CEO Michael Dell and COO Jeff Clarke have announced a companywide systems overhaul, calling it the 'biggest transformation' in the company's 42-year history. The 'One Dell Way' initiative will standardize processes and launch a single enterprise platform on May 3, 2026.

4h
5 min
6
Read Article
Roblox AI Age Verification Errors Expose Security Flaws
Technology

Roblox AI Age Verification Errors Expose Security Flaws

Roblox's AI-powered age verification system is misidentifying users, with kids flagged as adults and accounts being sold online.

4h
5 min
6
Read Article
Technology

Meta Shuts Down VR Studios in Reality Labs Overhaul

Meta is laying off 10% of its Reality Labs division and shutting down multiple VR gaming studios, including the developer of Marvel's Deadpool VR. Former employees confirm the closures.

4h
3 min
7
Read Article
Technology

Doctors think AI has a place in healthcare – but maybe not as a chatbot

OpenAI and Anthropic have each launched healthcare-focused products over the last week.

4h
3 min
0
Read Article
Polymarket Predictions Go Mainstream at Golden Globes
Entertainment

Polymarket Predictions Go Mainstream at Golden Globes

The 2026 Golden Globes broadcast on CBS featured several prediction markets from Polymarket, representing a significant mainstream integration for the platform.

4h
5 min
6
Read Article
🎉

You're all caught up!

Check back later for more stories

Back to Home