🌍 Public
Viewing a saved revision (read-only)
e7b3bba95673404bbaccb9542d0d4d93
Scatter Plot with D3.js
This scatter plot displays the population of the top 10 most populous countries, with countries arranged on the y-axis and population values on the x-axis. Built with D3.js v7, it uses `scaleLinear` and `scalePoint` to map data from a CSV file to SVG coordinates, with circles rendered for each country. The chart includes grid lines via `axisBottom` and `axisLeft`, and formats population numbers using `format('.3s')` to display values in billions.
AI-generated description