Scatter Plots
✓ Published1🌍 Public
This example visualizes population data for the ten largest countries and the European Union using a scatter plot with circular markers. The chart maps population on a linear x-axis using `d3.scaleLinear` and country names on a `d3.scalePoint` y-axis, with axis labels formatted via `d3.format`. SVG circles are positioned through `scaleLinear` and `scalePoint` domains, while the `d3.csv` loader parses the external CSV file. The visualization includes custom margins and grid lines, rendering entirely with D3 v7 SVG elements.
AI-generated descriptionAn example including some commonly used features of SVG.
MIT Licensed