Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
HHamza Abdirashid
Last edited Jul 7, 2021
Created on Jul 7, 2021

This bar chart visualizes United Nations World Population Prospects 2019 data, showing the 2020 population estimates for 12 countries as horizontal bars. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis, rendering SVG rectangles. The chart includes custom axes with tick labels, and each bar is assigned a random HSL fill color generated via `randomHue`. Data is loaded asynchronously using D3's `csv` parser.

AI-generated description
MIT Licensed

Similar vizzes