🌍 Public
Viewing a saved revision (read-only)
7001552e68b6403296e072fb8b26486b
Scatter Plot
This example shows the ten most populous countries, plotting each country’s population along a horizontal linear scale. Using d3.scaleLinear and d3.scalePoint, the SVG circles represent countries, with a formatted axis displaying population values. The code loads data from a CSV file using d3.csv, applies a d3.axisBottom and d3.axisLeft with tick lines, and styles the chart via external CSS.
AI-generated description