Activity6_Population
✓ Published1🌍 Public
A horizontal bar chart displays the populations of ten countries in 2020, sorted by country name. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG `<rect>` elements as bars. The code loads CSV data from a GitHub repository, formats tick labels with `d3.format` (converting billions to "B" suffix), and includes native SVG `<title>` tooltips. Axis components are custom React functions that generate tick lines and text labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed