🌍 Public
Viewing a saved revision (read-only)
b0b7ccf0a0ec41cca1f300ca58c1932a
interactive scatter
This interactive scatter plot visualizes the relationship between CO2 emissions and GDP for over 190 countries, with each circle representing a nation. The chart uses D3's `scaleLinear` for both axes, and employs `axisBottom` and `axisLeft` for custom tick marks and labels. The data is loaded from a local CSV file using `csv()`. The code includes commented-out instructions for using `scaleLog` to switch to a logarithmic scale, though the active visualization uses a standard linear scale for both variables.
AI-generated descriptionThis scatter plot compares Co2 emissions and GDP for 190+ countries. The data comes from this table. It also demonstrates customization of D3 axes.