Skip to main content
100%

Interactive Pie Chart showing percentage of flights delayed w.r.t Departure for each origin airport

✓ Published0🌍 Public

This interactive donut chart visualizes the percentage of flights delayed relative to departure for each origin airport, with color saturation indicating the proportion of total delays. Hovering over a slice reveals the exact percentage of delay attributed to that airport in a tooltip. Built with D3 v5, the visualization uses `d3.pie` and `d3.arc` to generate the donut slices and `scaleOrdinal` for color mapping. Data comes from a Flight Delay Analysis dataset, loaded via `d3.csv` and aggregated using `d3.nest`.

AI-generated description

The data shown here comes from Flight Delay Analysis Dataset

This chart meant to show the "Percentage of flights delayed w.r.t Departure for each origin airport". The color saturation denotes the percentage of delayed flights that belong to each airport. The tooltip shows the percentage delay w.r.t total delay at all airports, when you hover over it.

The questions that can be asked from this chart are:

  • Which airport had the maximum delayed flights? Ans = ORD
  • What percentage of flights were delayed at the airport DFW? Ans = 9.8%
  • How many airports have a delay percent of 3% or above? Also, what are those airports? Ans = 4, ORD, DFW, DEN, LGA
<!-- The chart for Arrivals is shown here: [Percentage of flights delayed w.r.t Arrival](https://vizhub.com/josvin92/08c905cf179f41c393e48e63794364bc). -->
MIT Licensed

Similar vizzes