Scatter Plot
✓ Published1🌍 Public
This visualization displays a scatter plot of the top 10 most populous countries, with population values on the x-axis and country names on the y-axis, using circles sized at a fixed radius. The data, sourced from a CSV file, is loaded via `d3.csv` and scaled using `scaleLinear` for the population axis and `scalePoint` for categorical positioning. Built with React and D3 v5, the SVG rendering uses `axisBottom`, `axisLeft`, and custom tick formatting to label values in abbreviated units. The code applies margins, axes, and a title, with circles colored blue and a steelblue rectangle style defined in CSS.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed