Inspiration

After seeing reports of tragic train accidents in the US such as this one, we wanted to know how frequent train accidents and train-related injuries/deaths were, and where they happened.

How it works

Our project is composed of several different visualizations of two datasets from the Federal Railroad Administration Office of Safety Analysis. Railroad accidents, accidents weighted by damage caused, injuries and fatalities, and fatalities are all visualized on a map of the continental US with heatmaps. You can try it out here.

Challenges we ran into

Apparently, the dataset we used only began recording latitude/longitude in 2011 - which we found out after downloading ~30 years of data. So that sucked. Also, naming a project is hard.

Accomplishments that we're proud of

We created a bunch of numbers (our data) into something that looks cool and tells the user something about the data. All as two high schoolers.

What we learned

  • How to use leaflet.js
  • Read up on your dataset before you download it.
  • Get a clear idea of what your data is and what it's about before you use/download it.

What's next for 2trainz

  • Integration of the other ~25 years of data by plotting accidents by the county they occur in (that data is available).
Share this project:

Updates