Skip to main content
100%

Pie Chart for USA Flights On-time Performance

✓ Published3🌍 Public
XXinting Yao
Last edited Sep 26, 2019
Created on Sep 17, 2019
Forked from Untitled

This interactive pie chart visualizes USA flight on-time performance by showing departure delay hours for each day of the year. Each slice represents a single day, with the radial length of the slice encoding the delay value. Built with React and D3 v5, the visualization uses D3’s `arc` function to generate the SVG paths, with input data from a CSV file fetched via D3’s `csv` method. The chart is rendered entirely as SVG elements, where each slice’s outer radius is proportional to its corresponding delay metric.

AI-generated description

A Pie chart for USA Flights on-time Performance Analysis using the React & D3.

This visualization is an analysis about USA flights on-time performance.

Experience :

1> While making this visualization, data pre-processing took me 2 days to get the final result, which is the USA flights delay condition by month. I also got the result by date/day/week and will play it around later.

2> Drawing this bar chart using React & D3 was much more difficult than using vega-lite-api, but it was also more interesting when I created all elements one by one by myself.

One idea I got from these two weeks' assignment was, when I want to realize a visualization in the future, I could use vega-lite-api first to try out all the ideas, and after choosing the best one I can use React & D3 to realize it. However I am not sure if my understand is right or not lol.

MIT Licensed

Similar vizzes