Skip to main content
Public

Share visualization

Loading preview…

[test] On-time performance of top-5 busiest airports in USA

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

[test] On-time performance of top-5 busiest airports in USA

1
XXinting Yao
Last edited Oct 31, 2019
Created on Oct 31, 2019

This radial chart compares on-time performance across the five busiest US airports using D3 v5 and React. Monthly average departure delays are plotted along a circular time axis, with each airport shown as a distinct colored line. The visualization includes an interactive color legend that highlights a selected airport while fading the others, and angle tick marks label the months. Data comes from a CSV file loaded via d3.csv. The code uses d3.lineRadial with curveLinearClosed, d3.scaleTime, d3.scaleOrdinal, and d3.pointRadial for positioning.

AI-generated description

A radial chart of USA airlines on-time performance.

Things have done:

  • Used a cleaner way to transform the chart to center
  • Learned how to close the line: using d3.curveLinearClosed
  • Used a cleaner way to choose the range for radiusScale: innerRadius, outerRadius, angleAxisOffset
  • Added a colorLegend
  • Made the colorLegend interactive

Things doing:

  • Adding axes (tick marks and labels) for angle: using pointRadial

Things to do:

  • Adding axes (tick marks and labels) for radius
  • Choosing a range for the angle scale that represents some periodic amount of time, like years, months, or weeks.

00:44 - Part1: Interesting Works Done 04:22 - Part2: Final Project - USA Airports On-time Performance 08:49 - Part3: Future Works

Github: https://github.com/Echo226/dataviz-usa-flights-performance Vizhub: https://beta.vizhub.com/Echo226/40f6502388de4c4d8e985fffbff1d23e

Comments

Sign in to join the discussion.

MIT Licensed