Activity6
✓ Published0🌍 Public
This visualization shows the population of 30 countries in 2020 as horizontal bars, sorted by country name along the y-axis with population values extending along the x-axis. Each bar includes a native SVG tooltip displaying the formatted population value. The chart is built with React components that render SVG elements, using D3 v5’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Population data is loaded as CSV from a GitHub repository and formatted with D3’s `format('.2s')` to abbreviate large numbers.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed