🌍 Public
Viewing a saved revision (read-only)
6a38777c66c543a2bdc26a5ab29d1d93
Fork of D3 Starter
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 description