Fork of D3 Starter
✓ Published0🌍 Public
This fork of the D3 Starter template visualizes global trends in CO₂ emissions, energy use, and GDP for the United States, China, and India from 1960 to 2020. It presents two charts: a multi-series line chart using `d3.line` and `d3.axisBottom`, and a combined bar and line chart using `d3.scaleBand` and `d3.scaleLinear`. The code aggregates data from the Our World in Data CO₂ dataset with `d3.group` and `d3.mean`, styling the output with custom SVG elements and a legend.
AI-generated descriptionMIT Licensed