🌍 Public
Viewing a saved revision (read-only)
daa551b338ba4d6087cd3c407e7aba8e
task1_q2
This horizontal bar chart ranks the top 20 countries by population in 2010, using light green bars that darken on hover. The chart loads CSV data from a GitHub repository, formats population values with d3.format, and renders SVG elements through React components. D3’s scaleBand and scaleLinear handle the axes, while custom React components (AxisBottom, AxisLeft, Marks) create the ticks, labels, and rectangular marks with tooltip titles.
AI-generated descriptionA demonstration of how to start using D3 version 6.