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