🌍 Public
Viewing a saved revision (read-only)
a8111c90a85246238fe5ae4f17a64a55
QUESTION-1(TASK-1)
A horizontal bar chart displays the top 10 countries by population in the year 2000, with bars sorted in descending order. The visualization loads CSV data via `d3.csv`, transforms population values by multiplying by 1,000, and renders SVG rectangles using React components. D3 scales (`scaleBand`, `scaleLinear`) position the bars, while `d3.format` abbreviates axis tick labels (e.g., converting billions to "B"). The chart includes styled axes with blue tick lines and green bars, using a Poppins font.
AI-generated descriptionA demonstration of how to start using D3 version 6.