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