Activity 6_2
✓ Published0🌍 Public
This visualization displays the population of 20 countries in 2020 as horizontal bars, ranked by country name. The chart uses a linear scale for population and a band scale for countries, with axis ticks and labels rendered via custom React components. The data is loaded from a CSV file using D3’s `csv` function, and the bars are drawn as SVG rectangles. Formatting for population values uses D3’s `format` function to abbreviate large numbers. The chart is built with React, D3 v5, and rendered as SVG.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed