Making a Scatter Plot II
✓ Published2🌍 Public
This example visualizes the top 10 most populous countries using a scatter plot, with countries on the y-axis and population on the x-axis. The chart is rendered as SVG using D3 v6, with circles sized at a fixed radius. The code demonstrates the use of `scaleLinear` for the x-axis, `scalePoint` for evenly spaced y-axis positions, and `axisLeft`/`axisBottom` for tick marks and labels. Population data is loaded from a CSV file and multiplied by 1000, with axis labels formatted using `format` to abbreviate large numbers.
AI-generated descriptionAn example including some commonly used features of SVG.
MIT Licensed