🌍 Public
Viewing a saved revision (read-only)
c9d45339154f4fc8bf7e4f5fa68746dd
Fork of Scatterplot
This fork of a scatterplot displays the population of four countries, with circles sized uniformly and positioned along a point scale for country names and a linear scale for population values. The code uses d3.csv to load data, d3.scaleLinear and d3.scalePoint for scales, and d3.axisBottom and d3.axisLeft for axes with tick formatting. Rendering occurs via SVG, with grid lines and labels styled through CSS. The chart title and axis labels are appended directly within the SVG group.
AI-generated description