interactive scatter
✓ Published2🌍 Public
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.
MIT Licensed