Making a Bar Chart
✓ Published1🌍 Public
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 descriptionMIT Licensed