scatter plot
✓ Published0🌍 Public
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 descriptionMIT Licensed