Activity6-task1
✓ Published0🌍 Public
This example shows a horizontal bar chart ranking the 30 most populous countries or regions in 2020, with bar length encoding population counts in thousands. Each bar includes a hover tooltip displaying the exact value. The visualization uses React to render SVG elements, with D3’s `csv` loader fetching data from a GitHub-hosted CSV file. Scales are created implicitly via the `xScale` and `yScale` props, while custom `AxisBottom` and `AxisLeft` components generate tick marks and labels using D3’s scale methods.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed