Skip to main content
100%

UNPop

✓ Published1🌍 Public
Rrayking99
Last edited Jun 10, 2021
Created on Jun 10, 2021

This bar chart displays the top 10 countries by population for 2020, sourced from a UN population CSV. The visualization uses React to manage state and render an SVG, while D3 v6 handles data fetching via `csv()`, scaling with `scaleBand` and `scaleLinear`, and the `max` aggregation. Each country’s population is mapped to a rect’s width, with countries positioned along the y-axis. The chart highlights population magnitudes through horizontal bars, relying on D3’s declarative API for layout and React for component lifecycle.

AI-generated description
MIT Licensed

Similar vizzes