World Population Prospects 2019
✓ Published2🌍 Public
This example shows the top 10 countries by population from the World Population Prospects 2019 dataset, displayed as a horizontal bar chart with population values on the x-axis and country names on the y-axis. The visualization uses React with D3 v5, leveraging `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis. Data is loaded via `d3.csv` from a GitHub gist, and SVG `rect` elements render each bar with native tooltips using the `title` element. Data formatting converts population figures to billions using D3's `format` function.
AI-generated descriptionWorld Population Prospects 2019 constructed by Niran Software Solution
MIT Licensed