Bar chart
✓ Published1🌍 Public
This bar chart displays population estimates for the ten most populous countries, with horizontal bars sorted by descending population. The visualization uses D3 v5’s `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, rendering SVG rectangles. Data is loaded from a CSV file via `d3.csv` and scaled by a factor of 1,000. Axes are generated with `axisLeft` and `axisBottom`, while margins and an SVG group transform position the chart within the 960×500 viewport.
AI-generated descriptionMIT Licensed