🌍 Public
Viewing a saved revision (read-only)
a8a7d762b3a5480fb54a535dc7d73009
Scatter plot
The scatter plot displays the populations of ten countries as horizontal bars, sourced from a CSV file. Built with D3 v5, it uses `scaleLinear` and `scaleBand` to map numeric population values and categorical country names to SVG rectangles. The chart renders via SVG elements, with axes created using `axisLeft` and `axisBottom`, demonstrating basic data binding and DOM manipulation.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.