Fork of HTML Starter
✓ Published0🌍 Public
This scatter plot visualizes the relationship between population in 2025 and GDP per capita for various countries. Each circle represents a country, with its horizontal position determined by population and vertical position by GDP per capita. The visualization uses D3 v7 to load CSV data from a GitHub gist, applies linear scales for both axes, and renders SVG circles with axis labels and a legend. The code demonstrates `d3.csv`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` for data binding and chart construction.
AI-generated descriptionMIT Licensed