Skip to main content
100%

Interactive Pie Chart showing percentage of flights delayed by 15 mins w.r.t Arrival

✓ Published1🌍 Public

This interactive donut chart visualizes the percentage of total arrival delay time attributed to flights delayed by more than 15 minutes versus less than 15 minutes, using orange and blue slices respectively. Hovering over a slice reveals its exact percentage share of total delay via a tooltip. Built with D3 v5, the visualization computes aggregated sums from a CSV dataset using `d3.nest` and `d3.sum`, then renders the pie with `d3.pie` and `d3.arc` as SVG paths. The color scale uses `d3.scaleOrdinal`, and tooltip positioning relies on mouse events.

AI-generated description

The data shown here comes from Flight Delay Analysis Dataset

This chart meant to show the "Percentage of flights delayed by more than or less than 15 mins". The color denotes whether the delay is greater than 15 mins or less than 15 mins. The tooltip shows the percentage delay w.r.t total delay of all flights, when you hover over it.

The questions that can be asked from this chart are:

  • What percentage of flights w.r.t arrival were delayed by more than 15 mins? Ans = 21.1%
  • What percentage of flights w.r.t arrival were delayed by less than 15 mins? Ans = 78.9%

The chart for Departures is shown here: Percentage of flights delayed w.r.t Departures.

MIT Licensed

Similar vizzes