Skip to main content
100%

ICE-6 Bar Graph

✓ Published0🌍 Public
KKetha
Last edited Mar 20, 2023
Created on Mar 20, 2023
Forked from ICE-6 Bar Graph

A horizontal bar chart displays the top 25 countries by 2022 population, sorted by the dataset's original order from a CSV file. The chart uses red gridlines and a linear x-axis scale for population values, with each bar's length proportional to the country's population. Built with React and D3 v5, it loads data via `d3.csv`, renders SVG rectangles, and applies `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis, with axis ticks and labels generated manually.

AI-generated description

A whole smiley face

MIT Licensed

Similar vizzes