Skip to main content
Public

Share visualization

Loading preview…

The draft of 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

The draft of radial chart

3
XXinting Yao
Last edited Oct 21, 2019
Created on Oct 18, 2019
Forked from Working with Time

This radial chart visualizes the average departure delay of USA airlines over time, with dates positioned around the circle’s circumference and delay values mapped outward from the center. The closed path connects daily data points using `d3.lineRadial` with `curveLinearClosed`, rendered in SVG within a React setup. Angle and radius scales are created with `d3.scaleLinear`, and the chart is centered by translating the coordinate system. Data comes from an external CSV file on airline on-time performance. Axes and tick labels are not yet implemented.

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