Scatter plot
✓ Published0🌍 Public
This scatter plot visualizes population sizes for ten countries, using horizontal bars to display each nation's total population in thousands. The D3.js code loads data from a CSV file, maps population values to a linear scale for the x-axis, and uses a band scale for country names on the y-axis. SVG rectangles are rendered with a D3 selection, while axes are generated using the `axisLeft` and `axisBottom` functions. The visualization demonstrates basic DOM manipulation and data binding through D3's `csv` import and scale methods.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed