Activity_8 Task_1
✓ Published1🌍 Public
This visualization shows the 2020 population estimates for 30 countries as a horizontal bar chart, with countries sorted along the y-axis and population values mapped to bar lengths on the x-axis. The chart is built with React, using D3 v5’s `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and custom SVG components (`AxisBottom`, `AxisLeft`, and `Marks`) to render tick labels and rectangles. Population data is loaded asynchronously from a remote CSV file via `d3.csv`, with values formatted in billions using `d3.format`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed