🌍 Public
Viewing a saved revision (read-only)
cf36f81ebbdb469f8154c5fc29d7ed43
Activity6_Q1.1
This example shows a horizontal bar chart ranking the population of ten countries in the year 2000. The visualization uses React with D3 v5 to render SVG elements, with population values loaded from a remote CSV file and formatted using the `format` function from D3. The chart displays a custom axis with tick labels, uses `scaleBand` for the categorical country names, and `scaleLinear` for population values. Each bar includes a native SVG `<title>` element for tooltip functionality.
AI-generated descriptionA demonstration of how to start using D3 version 6.