Refactoring of UN World Population 2020
✓ Published0🌍 Public
This example shows the population of ten countries in 2020 as a horizontal bar chart. Each bar’s length encodes the population value, with country names on the left and a numeric axis at the bottom. Built with React and D3 v7, it uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and renders SVG rectangles. Data is loaded asynchronously from a CSV file via `d3.csv` and filtered to the first ten rows.
AI-generated descriptionA program that follows your mouse with a cicle.
MIT Licensed