🌍 Public
Viewing a saved revision (read-only)
9944d520a76549908c77b50bd6a793db
activity6_Question1.1
This visualization is a horizontal bar chart displaying the population of ten countries in the year 2000, with bars sorted by country name and labeled with a formatted tick axis (e.g., “1.2B” for billions). The chart uses React components to render SVG elements, with D3 v5 functions such as `scaleBand`, `scaleLinear`, and `max` to compute scales and domains. Data is loaded asynchronously from a remote CSV file using D3’s `csv` parser, and each bar includes a native SVG `<title>` tooltip showing the population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.