ACTIVITY 6_Task 1
✓ Published0🌍 Public
This horizontal bar chart displays the top 30 countries by population in 2020, ranked along the y-axis with bar lengths representing the population values. The visualization is built with D3 v5 and React, using SVG rendering. The `scaleBand` and `scaleLinear` functions map the categorical country names and numeric population values, while custom `AxisBottom`, `AxisLeft`, and `Marks` components handle ticks and rectangular bars. Data is loaded asynchronously from a remote CSV file via D3’s `csv` function, with population values formatted using the `format` utility.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed