🌍 Public
Viewing a saved revision (read-only)
62d6e75b69e045a9b5c12c7e9c6f35c6
Making a barchart
A horizontal bar chart displays the populations of ten countries, with China and India leading and Mexico trailing. The visualization uses D3 v5 APIs including `csv` for loading data, `scaleLinear` and `scaleBand` for scales, and `axisLeft`/`axisBottom` for axes. Population values are converted from thousands to absolute numbers before rendering as SVG rectangles, styled with steelblue fill.
AI-generated description