🌍 Public
Viewing a saved revision (read-only)
96391ad6722946228844d47facd6734b
Scatter plot
This scatter plot visualizes the population of the top 10 most populous countries, with each circle’s horizontal position mapped to population and vertical position mapped to country name. The code uses d3.csv to load the data, d3.scaleLinear for the x-axis, and d3.scalePoint for the y-axis. Axes are rendered with d3.axisBottom and d3.axisLeft, while d3.format abbreviates population values on the x-axis. The visualization renders as an SVG with margins, grid lines from tick marks, and a title.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.