Activity 6_Q1
✓ Published1🌍 Public
This visualization shows the top 10 most populous countries in the year 2000 as a horizontal bar chart, using a React component structure with D3 v5 for data processing and SVG rendering. The code downloads CSV data via `d3.csv`, parses the population column, and sorts to select the top 10 countries. React renders SVG elements including axes (`AxisBottom`, `AxisLeft`) and rectangle marks (`Marks`), with D3’s `scaleBand` and `scaleLinear` mapping countries and population values, and a tooltip showing formatted population via `d3.format`.
AI-generated descriptionMIT Licensed