UN population
✓ Published0🌍 Public
OOscar Muindi
Last edited Apr 30, 2023
Created on Apr 29, 2023
Forked from A Fork of Rendering Data with React Parte II
This example renders a horizontal bar chart of the top 10 most populous countries using UN population data for 2020. The visualization uses D3 v7 scales (`scaleBand` for countries, `scaleLinear` for population) within a React 18 component, drawing SVG rectangles whose widths encode population values. Grid lines and axis tick labels are generated from the linear scale's ticks, with country names positioned along the y-axis. The data is loaded asynchronously via `d3.csv` from a GitHub Gist.
AI-generated descriptionA program that renders Bar graph of UN population UN Population-2019
MIT Licensed