scatterplot
✓ Published1🌍 Public
This visualization displays the top 10 most populous countries using a scatterplot with population on the x-axis and country names on the y-axis, rendered as circles in SVG. The code loads data from a CSV file using d3.csv, then applies d3.scaleLinear for the population axis and d3.scalePoint for the categorical country axis. It generates axes with d3.axisBottom and d3.axisLeft, formatting population values with d3.format to abbreviate large numbers. The chart is built with React and D3 v5, featuring a clear title and axis label.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed