Skip to main content
100%

Average Delay Time and Delay Reason for various carriers

✓ Published1🌍 Public
JJosvin John
Last edited Nov 4, 2020
Created on Oct 30, 2020

This visualization displays average departure delay times for various airline carriers, broken down by delay reason categories. Each carrier is represented as a grouped bar, with bar segments colored according to the type of delay, and a tooltip revealing the specific delay reason and average delay minutes on hover. Built with D3 v5 and rendered as SVG, the chart uses `d3.nest()` and `d3.mean()` to aggregate flight data from a GitHub-hosted CSV, with `scaleBand` and `scaleLinear` positioning the bars and an ordinal color scale mapping delay reasons.

AI-generated description

The data shown here comes from Flight Delay Analysis Dataset

This chart meant to show the "Average Delay Time and Delay Reason for various airline carriers". The color denotes the delay reason. The Delay Reason and the Avg Delay Time for each airline are shown on the tooltip as well when you hover over it.

The questions that can be asked from this chart are:

  • Which Aircraft Carrier has the highest average departure delay? Ans = B6
  • Which Aircraft Carrier has the lowest average departure delay? Ans = HA
  • For the B6 Carrier, what was the major cause of delay? Ans = Carrier Delay
  • Which type of Delay caused the Max Avg Departure Delay?How much was the delay and for which aircraft was it? - Ans = National Air System Delay - 1257.14 mins - NK
  • For each Aircraft Carrier, what are the delays they can reduce so as to increase on-time performance?

Overall my experience with this visualization was insightful. It was able to answer the questions/tasks well and it was easy for me to derive insights from this graph.

MIT Licensed

Similar vizzes