🌍 Public
Viewing a saved revision (read-only)
7e57469202ad4565b13c4e5df0cc1c12
Scatter plot
This scatter plot shows the population of the top 10 most populous countries, with each circle representing a country and positioned along the x-axis by its population. The chart is rendered as an SVG using D3 v7, with axes created through `axisBottom` and `axisLeft` functions. Data is loaded from a local CSV file using D3's `csv` function, then scaled with `scaleLinear` and `scalePoint`. The visualization includes grid lines from tick marks and a custom format function that converts numbers to readable units.
AI-generated description