Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
AAjit Singh
Last edited Dec 31, 2020
Created on Dec 31, 2020
Forked from Bar Chart Axes

This scatter plot displays the population of the top 10 most populous countries, with each country’s name on the y-axis and its population on the x-axis. The visualization uses D3 v5’s `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` APIs to load data, scale positions, and render axes. SVG circles represent each country, colored steelblue, with a formatted x-axis showing billions. Data comes from a local CSV file, and margins are applied to position the chart within the SVG canvas.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes