Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
HHe Jianfeng
Last edited Apr 7, 2021
Created on Apr 7, 2021

This bar chart displays population estimates for the ten most populous countries, with horizontal bars ordered by country name. The visualization uses a D3 v6 data join to bind CSV data to SVG rectangles, scaling population values with `scaleLinear` and country names with `scaleBand`. Axes are generated using `axisLeft` and `axisBottom`, while the `csv` function loads the dataset and converts population values to absolute numbers before rendering.

AI-generated description
MIT Licensed

Similar vizzes