Skip to main content
100%

Bar chart with axes

✓ Published1🌍 Public
SSushan Prajapati
Last edited May 25, 2021
Created on May 25, 2021
Forked from D3 Starter

This bar chart displays the top 10 countries by 2020 population, using horizontal bars with labeled axes. The visualization loads data from the United Nations World Population Prospects 2019 CSV file, then uses React to render the SVG and D3 v5 APIs including `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `max` to determine the domain. The chart shows population values with tick marks and country labels, encoding data through bar lengths.

AI-generated description
MIT Licensed

Similar vizzes