🌍 Public
Viewing a saved revision (read-only)
8ffc659c88fd4dcd9a534bd7b1c92d33
Population by Country - React & D3
A horizontal bar chart displays population estimates for 20 countries, with countries listed on the y-axis and population values on the x-axis. The chart uses React components to render SVG elements, while D3 utilities such as `scaleBand`, `scaleLinear`, and `format` handle data scaling and tick formatting. Data is loaded from a CSV via `d3.csv` and originates from the UN World Population Prospects.
AI-generated descriptionA program that loads in some data about population by country using D3 utilities, and displays the data with React and D3 in a bar chart.
Original data source https://population.un.org/wpp/Download/Standard/Population/