Activity6_Q1_Part2
✓ Published0🌍 Public
This bar chart displays the top 20 most populous countries in 2010, ranked from largest to smallest along a vertical axis. The visualization uses React to render SVG elements, with D3 scale functions (`scaleBand`, `scaleLinear`) and axis components (`AxisBottom`, `AxisLeft`) to position the marks. Population values are parsed from a CSV file using D3’s `csv` loader, formatted with `d3.format` to abbreviate large numbers (e.g., “1.5B”), and each bar includes a tooltip via an SVG `<title>` element.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed