🌍 Public
Viewing a saved revision (read-only)
ecca7e90af424e36b3cc9642ee7a97f1
Activity6
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.