🌍 Public
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 descriptionA whole smiley face
MIT Licensed
Comments
Sign in to join the discussion.