The draft of radial chart
✓ Published3🌍 Public
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 descriptionA 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