Activity 6
✓ Published0🌍 Public
This visualization displays the populations of 30 countries in 2020 using a horizontal bar chart, where each bar represents a country and its length is proportional to the population value. The chart includes labeled axes for countries and population, with population values formatted in a compact notation (e.g., "B" for billions). The visualization is built using React and D3 v5, with D3's `scaleBand` and `scaleLinear` functions handling the categorical and numerical scales. SVG rectangles are used to render the bars, and tooltips provide exact population values on hover. The data is loaded from a remote CSV file and processed using D3's `csv` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed