QUESTION-1(TASK-1)
✓ Published0🌍 Public
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.
MIT Licensed