🌍 Public
Viewing a saved revision (read-only)
a6c1ea92eae74657bf1d3ebb62dd4026
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