Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

interactive scatter

Public visualization

Viewing a saved revision (read-only)

6df5a0e69f2a4cfb8032dfdf3a240a5b

interactive scatter

0 stars2🌍 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.