Activity-6 Q1.1
✓ Published1🌍 Public
This chart shows the populations of ten countries in the year 2000, arranged as a horizontal bar chart with country names on the y-axis and population values on the x-axis. The visualization uses React to render SVG elements, with `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis. Population data is loaded and parsed from a CSV file via `d3.csv`, with values scaled and formatted using `d3.format` to display in billions. The bars display a native SVG tooltip showing the formatted population value on hover.
AI-generated descriptionMIT Licensed