🌍 Public
Viewing a saved revision (read-only)
55af28993b8d45af98d381fa5ebfb4f0
Making a Bar Chart
A horizontal bar chart ranks the ten most populous countries using a CSV data source. The visualization applies a linear scale for population and a band scale for country names, rendering bars as SVG rectangles filled with steelblue. Built with D3 v5, the code loads data via `d3.csv`, computes scales with `scaleLinear` and `scaleBand`, and displays axes using `axisLeft` and `axisBottom`.
AI-generated description