CS360 FINAL PROJECT Line Chart Darren Dunn
✓ Published1🌍 Public
Ddarrenisdunn
Last edited Apr 20, 2022
Created on Apr 17, 2022
This chart shows a line graph comparing the monthly average passenger counts for United and American Airlines at SFO from January through June 2021. The visualization uses D3.js v4 to render an SVG, reading data from a TSV file. The code groups the data by airline using a `d3.nest` key function, then draws a separate colored path for each carrier with `d3.line`, scaled by a linear `d3.scaleLinear` for both the month (x-axis) and passenger count (y-axis). The final chart color palette maps airline names to blue and light blue.
AI-generated descriptionCS360 Final Project Double Line Chart
Line Chart comparing United Airlines and American Airlines in 2021 (January to June)
Darren
MIT Licensed