🌍 Public
Viewing a saved revision (read-only)
4550880fee1544edb9bf6321203435cf
Scatterplot
A scatterplot displays country populations as circles, with population values mapped along both x and y axes using linear scales. The visualization loads data from a CSV file, multiplies each population value by 1000, and renders circles sized at a fixed radius. Built with D3 v5, the code uses `select`, `csv`, `scaleLinear`, and `max` to append SVG circles, positioning them by scaling population values against the chart dimensions. No axes or labels are drawn, making the plot purely positional.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.