Skip to main content
100%

Adding Axes to the radial chart

✓ Published1🌍 Public
XXinting Yao
Last edited Oct 23, 2019
Created on Oct 21, 2019

This radial chart displays average flight delay times for US airlines across months, using a circular time axis with two overlaid paths for departure and arrival delays. The visualization renders in SVG through React, using D3 v5 APIs including `scaleTime` with a full-circle range, `scaleLinear` for radial distances, and `lineRadial` with `curveLinearClosed` to create closed rings. Grid lines extend from the inner to outer radius at each month tick, with month labels positioned along the outer edge. Data comes from a CSV of airline performance statistics loaded via `d3.csv`.

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

Things to do:

  • Using a cleaner way to choose the range for radiusScale, for now just manually select [180, innerHeight/2]
  • Choosing a range for the angle scale that represents some periodic amount of time, like years, months, or weeks.
  • Adding axes (tick marks and labels) for angle
  • Adding axes (tick marks and labels) for radius
MIT Licensed

Similar vizzes