🌍 Public
Viewing a saved revision (read-only)
b0bab9835c634736b812100f228e34c5
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