Skip to main content
100%

Copied Pie Chart with my Data

✓ Published0🌍 Public

This pie chart displays the percentage of flight delays attributed to each airline, using color saturation to encode delay proportions. The tooltip reveals each airline’s delay percentage relative to the total delay of all flights. The visualization aggregates flight delay data from a Flight Delay Analysis Dataset, grouping delays by airline using `d3.nest()`. It renders SVG slices with `d3.pie()` and `d3.arc()`, applying a color scale via `d3.scaleOrdinal`, while custom hit-testing logic checks point-in-arc positions for interactivity.

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). -->
MIT Licensed

Similar vizzes