Skip to main content
100%

Bar chart

✓ Published2🌍 Public
BbeauMarko
Last edited Oct 28, 2020
Created on Oct 28, 2020
Forked from Bar chart

This bar chart displays the population of the top 10 most populous countries, with horizontal bars sorted by country name. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map population values and country labels. Data is loaded from a local CSV file and rendered as SVG rectangles, with axis tick labels formatted using D3’s `format` function. The chart includes a title, axis label, and gridlines via `tickSize`.

AI-generated description
MIT Licensed

Similar vizzes