Activity 6_Question 1-1.2
✓ Published1🌍 Public
This visualization displays the populations of 20 countries in 2020 as a horizontal bar chart. It uses React to render SVG elements through helper components for axes and marks. D3’s scaleBand and scaleLinear map country names and population values, while csv from d3 fetches the dataset from a GitHub repository. Bars use a tooltip via the title element, and the x-axis labels are formatted with d3.format to abbreviate values.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed