🌍 Public
Viewing a saved revision (read-only)
dd6333729358432d8790e4d395627c4c
assign
A horizontal bar chart displays the populations of ten countries in the year 2000, sorted by country name along the y-axis and scaled linearly by population on the x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning, `format` to abbreviate tick labels (e.g., converting billions), and SVG `rect` elements for bars. Data is loaded via `csv` from a remote GitHub dataset.
AI-generated descriptionA demonstration of how to start using D3 version 6.