7
✓ Published0🌍 Public
This SVG line chart, built with React and D3 v5, visualizes India’s annual CO2 emissions per capita over time. It loads data from a remote CSV and uses `d3.scaleTime`, `d3.scaleLinear`, and a `d3.line` generator to plot the trend. Gridlines and axis labels are added via `d3.axisBottom` and `d3.axisLeft`, while customizable marker lines highlight specific data points. The chart spans the full viewport and includes a black, thick line path to emphasize the emission curve.
AI-generated descriptionMIT Licensed