Skip to main content
100%

line chart

✓ Published1🌍 Public
AArbie Hsu
Last edited Feb 22, 2024
Created on Feb 4, 2024
Forked from bar chart

This line chart displays monthly airline passenger load factors for six major airports, with each airport represented by a distinct colored line and a matching legend. The data, loaded from a CSV file, is parsed and grouped by airport using D3 v7’s data join and scales. The visualization uses `d3.scaleLinear` for axes, `d3.line` to generate SVG paths, `d3.scaleOrdinal` with `d3.schemeCategory10` for colors, and `d3.axisBottom` and `d3.axisLeft` for the axes. The SVG rendering approach is used throughout.

AI-generated description
MIT Licensed

Similar vizzes