Activity6
✓ Published0🌍 Public
This visualization displays country populations in 2020 as a horizontal bar chart, using a D3 scaleBand for the y-axis and a d3.scaleLinear for the x-axis. The React components render SVG rectangles with native tooltips, while custom AxisBottom and AxisLeft components generate the tick marks and labels. Data is loaded via d3.csv from a GitHub repository, with population values formatted using d3.format’s SI notation to display billions.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed