🌍 Public
Viewing a saved revision (read-only)
d51b56d6deec48219f22793a08087e55
scatter plot
This scatter plot visualizes the relationship between population and GDP per capita for countries in 2025, using logarithmic scales on both axes. The code loads CSV data with d3.csv, applies jitter to each circle’s position to reduce overplotting, and renders the chart as an SVG. It uses d3.axisBottom and d3.axisLeft, with scaling via d3.scaleLog, and includes title, axis labels, and a legend.
AI-generated description