Skip to main content
Public

Share visualization

Loading preview…

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

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

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

4

This interactive pie chart visualizes the percentage of flights delayed by departure for each airline, with color saturation indicating the proportion of delays each carrier contributes to the total. Hovering over a slice reveals the exact percentage of total delays via a tooltip. The visualization uses D3 v5, loading CSV data from a Flight Delay Analysis Dataset on GitHub. The chart is rendered with SVG paths using d3.pie and d3.arc, while an ordinal color scale maps airlines to a blue palette. The code also uses d3.select and d3.event for interactive tooltip positioning.

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 airline". The color saturation denotes the percentage of delayed flights that belong to each airline. 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:

  • Which airline had the maximum delayed flights? Ans = MQ
  • What percentage of flights were delayed by the airline MQ? Ans = 39.1%
  • How many airlines have a delay percent between 10% and 20%? Also, what are those flights? Ans = 3, AA, OO, EV
<!-- The chart for Arrivals is shown here: [Percentage of flights delayed w.r.t Arrival](https://vizhub.com/josvin92/08c905cf179f41c393e48e63794364bc). -->

Comments

Sign in to join the discussion.

MIT Licensed