🌍 Public
Viewing a saved revision (read-only)
63eb39eff3d24ae98b2fb08935fbff75
KH scatterplot with D3.js
This scatterplot displays the top 10 most populous countries, using population on the x-axis and country names on the y-axis. The chart is built with D3.js v7, using `scaleLinear` and `scalePoint` for the axes, `axisBottom` and `axisLeft` for ticks, and SVG circles for the data points. The data is loaded from a CSV file via `csv()` and formatted with `format(".3s")` to abbreviate large numbers. Grid lines are generated by setting negative tick sizes.
AI-generated description