Fork of Activity6_Task 1
✓ Published2🌍 Public
This example presents a horizontal bar chart ranking the top 30 countries by 2020 population. The React-based visualization uses D3’s `scaleLinear` and `scaleBand` to map values and categories, with `axisBottom` and `axisLeft` rendering the axes. Data is loaded via `d3.csv` from a remote Gist, sorted by population, and rendered as SVG rectangles. The chart includes a clear axis label indicating population in millions, with the x-axis formatted using tick formatting to display values in that unit.
AI-generated descriptionMIT Licensed