activity 6_Task 1
✓ Published0🌍 Public
This chart displays the 2020 populations of 30 countries, ranked from largest to smallest by descending value. Each country is represented as a horizontal bar, with bar length proportional to population, and the x-axis labeled “POPULATION-2020” with tick labels formatted in billions. The visualization is built with React and rendered as an SVG using D3’s `scaleBand` and `scaleLinear` for axes, while `AxisBottom`, `AxisLeft`, and `Marks` components draw the gridlines and bars. Data is loaded asynchronously from a remote CSV via D3’s `csv` import.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed