Scatter Plot
✓ Published1🌍 Public
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 descriptionMIT Licensed