Visualizing Cambridge’s Bike-Crash Data

MIT Media Lab students created a heat map that shows all of the reported bike accidents during a three-year span.

Image Via "You Are Here"

Image Via “You Are Here”

As winter makes way for spring, Hubway stations reopen, and biking season pedals into full-force, it’s important for cyclists to be informed about which streets are safest to travel on, and which ones to avoid. And that’s exactly what a group of students from the MIT Media Lab have set out to do.

Every day for the next year, the Social Computing Group at the lab will be aggregating thousands of micro-stories through data collection so they can help tell city-specific narratives about the human experience.

The project, called “You Are Here,” creates an atlas of community happenings by visualizing interactive heatmaps to tell people’s stories on a global level. To kick off the project, they’ve started with just six maps, one of which contains datasets revealing where bike crashes have frequently happened—and have been reported—not far from the lab in Cambridge.

Using data collected from the Cambridge Police Department, the interactive map used to tell the story of the city’s bike crashes allows users to scroll over each designated orange spot and view the exact street name where a reported accident occurred. The map, which portrays the 956 bicycle accidents in Cambridge from 2010 to 2013, also uses red lines to connect certain data points, and help people visualize the streets where accidents are most common (many occur on Massachusetts Avenue and Cambridge and Hampshire Streets).

“The purpose is to make the invisible, visible in a way that makes it clear to people how to improve their city,” said Sep Kamvar, one of the creators of the project.

Beyond mapping out where accidents have happened, “You Are Here” digs deeper by breaking down the accident information into subsets. They do this by providing graphs that show each one of the streets with the highest number of accidents. The information is then broken down from the most-to -least amount of crashes, and breaks out the roads where the reported collisions took place so they can be viewed individually. There is also an option for a Google street view of each accident site when a person clicks on a specific data point.

The group hopes that by mapping the data in this way, they can alert both riders and municipalities about problem sections in the city so fixes can be implemented to make the roads safer. “I certainly hope that each map helps as a tool for cities to prioritize what to do next. If they are planning on making separated bike lanes, this gives of a sense of where these should go,” said Kamvar.

According to the group, to get this information together, the data extraction and geolocation was created using Python, and the visualization aspect of the project was written in JavaScript and D3. The group then used the Google Maps API to geolocate every crash point, since the data was given to them as street addresses or intersections.

The Cambridge map is part of a bigger project for the team behind “You Are Here,” though. Kamvar said they’ll make a similar map to the one they’ve compiled for Cambridge “every day for the next year” so they can continue to tell tales from around the world, covering all of the “little things that make up human life.” The group plans on rolling out at least 100 maps for 100 different cities to share these stories.

Besides the Cambridge bike data, the Social Computing Group made a map of the locations of every independent coffee shop in Cambridge and the walkingshed community associated with it. The map uses colorful dotted patterns to show where the shops are, and then links out to each store’s website when a user clicks on a location.

Kamvar said a new map will be posted daily, but the group has some all ready to launch as they continue to work on new ones. “We will map things from street trees to property values to where there are rats,” Kamvar said. “Each map will have a visualization that feels appropriate to the datasets.”

As for other cities, the group has compiled bike-crash data for Portland, Oregon, San Francisco, Los Angeles, and Chicago.

ADVERTISMENT

  • Michael Abrahams

    Unsurprising that the Hampshire and Cambridge Ave. intersection in Inman Square brutalizes cyclists.

    • hajimohammed

      LIGHTS & SIGNAGE AD ACCIDENT STATS?

  • Mithu Lahiri

    As someone who lacerated her knee and chipped 2 front teeth, split lip and suffered several abrasions last year in a single bike crash in Franklin Park, I am now staying away from riding in traffic. I prefer (and always have) car-free zones. While bike paths are still full of unobservant and careless people, rude cyclists, etc. I can deal with them, because no one loses a limb or their life.

  • just1more

    Thankfully in my 10+ years of cycling in Boston (including out as far as Waltham and back) I’ve only been involved in one accident. Last year I was doored on Park Street in Somerville. I’m as cautious a cyclist as they come and part of that includes never fooling myself into thinking that the city is any safer to bike through. Drivers veer into bike lanes, casually open doors without checking their mirrors, cut off cyclists on turns, etc. Every major intersection is like something out of “Lord of the Flies”. If drivers just eased up on the gas pedal and tuned out the distractions a little, cycling would be much safer. That’s not going to happen anytime soon especially since on every ride I see them texting and chatting away on their devices despite laws in place to the contrary.

    • hajimohammed

      ETA OF SELF-DRIVING VEHICLES? VEHICLES TRANSMIT BIKES RECEIVE BEHAVIOR?

  • hajimohammed

    OCULUS VIRTUALLY CLEAR GOGGLES: A.I. PERCEIVES BEHAVIOR OVERLAYS MIT MAP STATS & LINES cc: DOD SLOANE @HOBBYTALENTS