🌍 Public
Viewing a saved revision (read-only)
2c5183297a4744f0a8718f3252a77c42
Fork of Making a bar chart
This horizontal bar chart ranks the world’s ten most populous countries, using D3 v5’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to map population values and country names. The SVG rendering reads `data.csv` and formats axis ticks with `format('.3s')`, replacing “G” with “B” for billions. Bars are styled steelblue, while axis labels and the title are set via CSS.
AI-generated description