Activity6_population
✓ Published0🌍 Public
This chart displays the top 10 countries by population in the year 2000, using a horizontal bar chart where bar length corresponds to population. The visualization is built with React and D3 v5, rendering SVG elements. The data is loaded from a remote CSV file using D3’s `csv` function. Axes are generated with `scaleBand` and `scaleLinear`, while the bars themselves are created as SVG `<rect>` elements with tooltips showing the population value using D3’s `format` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed