Skip to main content
100%

interactive scatter

✓ Published2🌍 Public
Ookahne@gmail.com
Last edited May 1, 2024
Created on Apr 29, 2024
Forked from Making a Bar Chart

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 description

This 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

Similar vizzes