🌍 Public
Viewing a saved revision (read-only)
db01ed5fd6a544f9bc9ffd90d8c8cf20
Bar chart
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 description