🌍 Public
Viewing a saved revision (read-only)
ccca79d1b9cd49a2937a069ad7605605
Scatter Plot
This scatter plot displays the world’s top 10 most populous countries, with each circle’s horizontal position representing population (in thousands) and vertical position mapped to country names. It uses categorical scaling for the y-axis and linear scaling for the x-axis via d3.scaleLinear and d3.scalePoint, respectively. The SVG circles are rendered with a fixed radius, while axes include tick marks and labels, with data sourced from the World Bank (WB). The code employs d3.csv to load data and d3.format for abbreviating population values.
AI-generated description