Act_6_Q_1.1
✓ Published2🌍 Public
This horizontal bar chart displays the population of ten countries in the year 2000, with bars sorted by country name along the y-axis and population values on the x-axis. It uses React with D3 v5 scales (`scaleBand`, `scaleLinear`) to position the bars and axes, rendering as SVG. The data loads via `d3.csv` from an external GitHub dataset, with population values formatted using D3’s `format` function. Green bars include native SVG `<title>` tooltips showing the formatted population for each country.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed