Fork of Activity6-1 Q1.2
✓ Published0🌍 Public
A horizontal bar chart displays the 2010 population of 20 countries, with bars extending from a shared left axis. The chart uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` mapping country names and population values. Data loads asynchronously from a CSV file via D3’s `csv` function, and the x-axis labels are formatted with a SI prefix that converts gigabytes to billions.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed