ggplot(by_carrier_long, aes(x =`Number of Delays`, y =reorder(carrier, `Number of Delays`), fill =`Delay Type`)) +geom_bar(stat ="identity", position ="dodge") +scale_fill_manual(values =c("Departure"="orange", "Arrival"="red")) +# Manually set colorslabs(fill ="Delay Type",y ="Carrier",x ="Number of Delays",title ="Number of Delays by Carrier in 2013",caption ="Source: RITA, Bureau of transportation statistics https://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236")
My visualization is a grouped bar chart that displays the top 5 carriers with the most flight delays in 2013. The types of delays experienced are separated based on color, which is displayed in the legend to the right. One aspect that I wanted to highlight was how deceptive this visualization could be. While the information within the data set hasn’t been manipulated or altered, it also does not take other important variables into account. This can create misleading information for any readers.