By Mike Chung
This is the final project of Udacity's Data Analyst Nanodegree. In this project, I visualize data and communicate my data findings for US flights from 2006 to 2008.
The United States Department of Transportation's Bureau of Transportation Statistics tracks the performance of domestic flights operated by large air carriers. I downloaded US flight data from 2006-2008 from ASA's Statistic Computing and Graphics website. The variable descriptions can be found described on their website.
My investigation had the following questions:
- What months have more delays and cancellations?
- What are the more common reasons for delays and cancellations?
- How does the delay reason and time correlate with the time in the air?
In our exploratory data analysis, I found that carriers were the most common reason for cancellations and NAS was the most common reason for delays. Of the flights that had delays, weather and late aircrafts resulted in the longest average delay times. I further discovered that the delay times and air times were left-skewed from the histograms. Interestingly, plotting the correlation between air time and delay time caused me to look closer at the distribution of the air times, and I found out that there was another small mode in the distribution. I found no significant or obvious correlation between air time and delay time for any of the delay reasons. Lastly, I used a line plot to gain insights on the average delay times across each month for each delay reason. There were individual trends for each of the delay reasons with their own maximums and minimums.
From my exploratory data analysis, I selected the data visualizations that presented a story to our audience. I envision presenting these findings to travelers or travel agencies, so I based my slides on answering the following questions:
- What months were less likely to be cancelled or delayed?
- What was the effect of the reasons of cancellation and delay across the months?
In general, I referred often to the python documentation, pandas documentation, matplotlib documentation, seaborn documentation and Stack Overflow.