Scatter plot
✓ Published0🌍 Public
A scatter plot displays population figures for ten countries using horizontal bars, with each bar’s length proportional to population. The visualization uses D3.js v5 with SVG rendering, employing `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. Data from `data.csv` is loaded via `csv()`, and population values are multiplied by 1000. Axes are rendered with `axisLeft` and `axisBottom`, while rectangles are appended to the SVG group to represent the bars.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed