Scatter plot
✓ Published1🌍 Public
This scatter plot visualizes population data for ten countries, using horizontal bars to represent the population of each nation. The chart reads a CSV file containing country names and population figures, which are then scaled and rendered as SVG rectangles. Built with D3 v5, the code uses `scaleLinear` for the x-axis and `scaleBand` for the y-axis, populating the bars via `selectAll` and `append`.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed