Skip to main content
Public

Share visualization

Loading preview…

Adding Axes to the radial chart

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

Adding Axes to the radial chart

1
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

Comments

Sign in to join the discussion.

MIT Licensed