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