🌍 Public
Viewing a saved revision (read-only)
d0d190add8b446eab96baa37e931d717
Scatter Plot
This scatter plot displays the top 10 most populous countries, mapping population size on the x-axis and country names on the y-axis. The visualization uses D3 v6 with React, rendering circles in an SVG. It employs d3.scaleLinear for the x-scale, d3.scalePoint for the y-scale, and d3.axisLeft and d3.axisBottom for axes. Data is loaded from a CSV file using d3.csv, with population values multiplied by 1000. Custom tick formatting converts large numbers to abbreviated forms, and grid lines extend across the chart.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.