Skip to main content
100%

Horizontal Bar Graph

✓ Published0🌍 Public
KKevin J Crespin
Last edited Oct 29, 2020
Created on Oct 29, 2020
Forked from Stylized Bar Chart

This horizontal bar graph displays the 10 most populous countries in 2020, ranked by population size. Built with React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` to map country names and population values to SVG rectangles. The data comes from a CSV file of UN Population 2019 estimates, loaded via D3's `csv` function. Each bar includes a tooltip showing the formatted population value, with axes rendered through custom `AxisBottom` and `AxisLeft` components using D3 tick formatting.

AI-generated description
MIT Licensed

Similar vizzes