UNPop
✓ Published1🌍 Public
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 descriptionA program that looks at the CSS colours from (https://gist.githubusercontent.com/rayking99/378256fd70d26e5bbbbf834037092eab/raw/13a0c07ceb1a099c4aba16f2d53220e25ff02144/csscoloursjp.csv)
MIT Licensed