Skip to main content
100%

Activity6_Q1_Part2

✓ Published0🌍 Public
AAnirudhaKulakarniKaranam@my.unt.edu
Last edited Apr 1, 2024
Created on Apr 1, 2024

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 description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes