Making a bar chart
✓ Published1🌍 Public
A bar chart displays population figures for nine countries, with steel-blue rectangles whose lengths encode each nation’s population. The chart uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft`/`axisBottom` to render ticks. Data loads from a CSV via `d3.csv`, and the SVG renders axis groups and rectangles through `append` and `enter` selections.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed