🌍 Public
Viewing a saved revision (read-only)
2e9efbe8757e41409d44d15fef373925
activity 6_Task 1
This example displays a horizontal bar chart ranking the populations of ten countries for the year 2000. The visualization encodes population values as bar lengths on a linear scale, with country names listed along the vertical axis. The chart is rendered as an SVG using React and D3 v5, with scales created via `scaleBand` and `scaleLinear`, and axes built from tick components. Data is loaded asynchronously from a CSV file using D3's `csv` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.