🌍 Public
Viewing a saved revision (read-only)
eaf5b26cc117484fa286668d377d6845
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