Q2 (b) — Line Chart (CO₂ vs GDP-sorted Countries, 2025)
✓ Published0🌍 Public
A line chart displays CO₂ emissions for countries sorted by GDP per capita in 2025. The visualization uses D3 v7's `scalePoint` for the categorical x-axis, `scaleLinear` for the y-axis, and `d3.line` with `curveMonotoneX` to draw the emission trend. Points mark individual data values while rotated axis labels improve readability. Data comes from a CSV file hosted on GitHub Gist.
AI-generated descriptionMIT Licensed