🌍 Public
Viewing a saved revision (read-only)
fa08a7a8fd6a43f0a03d1bf6b30740d2
Scatter plot
This bar chart visualizes the populations of ten countries, with horizontal bars extending from a shared origin to represent each country's population value. The chart uses D3.js v5 to load CSV data, scale the population values by 1000, and render the visualization as SVG rectangles. The code utilizes `scaleLinear` for the x-axis, `scaleBand` for the y-axis categories, and the `axisBottom` and `axisLeft` functions to generate the axes.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.