Fork of Lollipop Chart USA Flights On-time Performance
This visualization presents the on-time performance of US flights by comparing average departure and arrival delays for each day of the month. A lollipop chart connects two circles per day, with green circles marking departure delays and purple circles showing arrival delays, positioned along a shared time axis. The chart is built using D3 v4’s `scaleLinear` and `scaleBand` functions, with data drawn from a CSV file containing daily delay statistics. The SVG rendering uses D3 selections to append lines and circles, while React manages the overall application structure.
AI-generated descriptionA Lollipop chart for USA Flights on-time Performance Analysis using the React & D3.
This visualization is 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.