Python: Mapping 60 years of aviation crashes
The best way to start talking about this project will be to go over some issues I had and then at the end reward you with some graphs of aviation incidents from the last 48 years of Airliners.
The first issue was that NTSB.gov documents crash in a very roundabout way. They do not use Lat Long for the location of crashes. Instead, they use City State(USA) or City Country for outside US. Not only that but lots of their Locations said things like “Pacific Ocean”… How am I supposed to use that? Anyways this meant that after I had the 586 files for every month, containing every NTSB incident from a deployed Flotation ramp to a Crash. I then had to take the Location information and turn it into Lat Long. This was a very slow process, getting data for 156,000 crashes over 48 years. In the end, I finished up with a list containing the crash Date, Lat, Long, City/State, Aircraft License Number, and Fatalities. Now I am sure that I could put this all into one file, but I felt it made more sense to separate crashes by Month and Year.
The next step was thinking about how to visualize all this information. First I visualized every crash… this resulted in a mess of information. North America was under a sea of dots. Then I realized I would have to take a bit of a morbid route. The only graph crashes that sadly resulted in a death. This helped the situation tremendously… but caused a new issue. There were only 6,000 crashes outside of the US for the 48 years. Meaning ten crashes per year… so once a month you would see a blip in Russia or Australia, all the while USA has tons of information being displayed, but you can barely see it. This led me to drop the idea of showing Earth, and I just focused in on North America.
Those are a few of the issues this project brought. Overall it was a fun project and took lots of problem-solving. Now time for some rough drafts of my graphs. These graphs do a pretty good job at displaying the data, but I think some math needs to be displayed along with the graphs. For instance, July looks like a dangerous month to fly, but this data may be skewed by the fact July has a larger volume of air traffic.
A graph showing incidents by month. This is a collection of the 48 years, not a snapshot of a single year.
This is the same graph as above, but now you also see the death toll for each month. Pretty gruesome, and honestly not the numbers I was expecting. This graph does, however, support what I stated earlier about the data is misleading. You can see June has the most crashes, but Nov, Dec, and Jan are most likely the deadliest times to go in the air(statistically). The amount of info on this graph may be a bit too much
Crashes separated by the day of the week they appeared on.
This Graph shows how you can have a lot of information but not display anything meaningful. What you are looking at is the number of crashes accumulated over 48 years. But the Y-axis has such a large max value the information gets lost. (The X-Axis is time)
Honestly disregard this graph, nothing meaningful is represented by this method.
The blue line is documenting # of nonfatal crashes per year while the red line documents # of fatal crashes per year.
And now for an ugly pie chart, I am still not sure of the best way to show this. What you are looking at is crash locations over the 48 years. One thing that you can see in this graph is the small number of crashes outside the USA. That is at the 1 o’clock position, labeled “Outside USA”
I kind of just like the way this looks, and it re-enforces the problem I had at the start. There is not enough crash data “Outside USA” to allow for a full Globe of the earth to be visualized and not be boring.