Scatter plot
✓ Published0🌍 Public
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.
MIT Licensed