🌍 Public
Viewing a saved revision (read-only)
a3ac75ce75a347cdb264562f8b5b3538
Carbon Emissions of Top 10 Highest GDP Countries
This scatter plot displays the relationship between GDP and CO2 emissions for the ten highest-GDP countries, with each circle colored by country and hover interactions revealing a tooltip with exact values. The visualization uses D3 v7 to load CSV data from a GitHub repository, applies linear scales to map GDP (in trillions) and CO2 emissions, and renders the axes and circles as SVG elements. Tooltip transitions and ordinal color scaling are implemented via d3.scaleOrdinal, and the data is parsed using regex to extract numeric values from formatted strings.
AI-generated description