Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Horizontal Bar Graph

Public visualization

Horizontal Bar Graph

0 stars0๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed