Civic News
Brooklyn

Visualize 24 hours in NYC taxi trips with this tool from civic hacker Chris Whong

“NYC Taxis: A Day in the Life” traces the route of random cabs as they travel across the boroughs, as well as how many passengers they carried and how much money they earned.

The "NYC Taxis: Day in the Life" tool from Chris Whong. (Screenshot)
What does a hectic cabbie’s day look like? What does an average fare look like? How often might he travel between Manhattan and Brooklyn?

A new visualization by civic hacker and downtown Brooklyn resident Chris Whong gives users a glimpse into the daily journeys of New York City taxi drivers. NYC Taxis: A Day in the Life traces the route of random cabs as they travel across the boroughs, as well as how many passengers they carried and how much money they earned.

Use the visualization

The tool visualizes a random cabbie trip from 2013 on a map of New York City, letting you follow its movement. It won’t help you hail a cab. Instead, it gives a different perspective on New York City transportation.

“Everyone knows about taxis but this gives them an interesting look behind the scenes,” said Whong, 33, who works at open data IT giant Socrata and is a co-organizer of BetaNYC, the city’s Code for America brigade. “There are taxis everywhere but only a few academic teams had access to [the data set].”

The data also gives a glimpse into the lives of cab drivers. The very existence of the data set shows that taxi drivers are also closely watched. Earlier this year, Whong filed a Freedom of Information Law request for the data from the Taxi and Limousine Commission — 18 gigabytes, which you can download here.

Whong built the tool using D3 and Leaflet for the front-end experience and Node.js, Express and sqlite on the back-end.

“In processing the data, I used some Node scripts to get Polylines for each trip segment from the Google Directions API,” he said.

Independent contractors operate taxi televisions, meters and GPS systems, which collect data on the whereabouts and business dealings of taxi drivers.

The visualization also shows that cab drivers work long shifts, crisscrossing the city from dawn until dusk. Whong also found gaps when cabs did not find rides, when it appears drivers change shifts in the middle of the afternoon.

In the early hours of the morning, after late-night revelers have gone home and before the earliest commuter is stirring, some cabs cruise the street for as long as several hours without finding a fare.

Whong said fellow Brooklyn residents won’t be surprised to hear that the visualization also shows that taxis rarely venture outside of Manhattan.

“Most all of the trips on the visualization do not go to the boroughs and you see those long rider-less trips back to Manhattan where they have the best chance of getting fares,” said Whong, who moved to Brooklyn from Manhattan himself in April.

The data set that is currently available ends before New York City implemented green borough taxis, so it does not show how Brooklyn’s taxi landscape has changed. Whong, however, is not convinced the green cabs have made taxis universally hail-able in the boroughs.

“People say now we have the borough taxis and this is great, but those taxis still hang around Williamsburg and downtown [Brooklyn]” he said. “Maybe we need borough — borough taxis to take you even further.”

Companies: Socrata

Before you go...

Please consider supporting Technical.ly to keep our independent journalism strong. Unlike most business-focused media outlets, we don’t have a paywall. Instead, we count on your personal and organizational support.

3 ways to support our work:
  • Contribute to the Journalism Fund. Charitable giving ensures our information remains free and accessible for residents to discover workforce programs and entrepreneurship pathways. This includes philanthropic grants and individual tax-deductible donations from readers like you.
  • Use our Preferred Partners. Our directory of vetted providers offers high-quality recommendations for services our readers need, and each referral supports our journalism.
  • Use our services. If you need entrepreneurs and tech leaders to buy your services, are seeking technologists to hire or want more professionals to know about your ecosystem, Technical.ly has the biggest and most engaged audience in the mid-Atlantic. We help companies tell their stories and answer big questions to meet and serve our community.
The journalism fund Preferred partners Our services
Engagement

Join our growing Slack community

Join 5,000 tech professionals and entrepreneurs in our community Slack today!

Trending
Technically Media