Task8_Q1_2
✓ Published0🌍 Public
A horizontal bar chart displays the populations of twenty countries in 2010, sorted by country name. The visualization uses React to render SVG elements, with D3 scales (`scaleBand` and `scaleLinear`) mapping data to positions and lengths. Axis components built with D3’s `ticks()` and tick formatting via `format('.2s')` convert raw population values into billions. The data is loaded asynchronously from a CSV file using D3’s `csv` function, then parsed and sliced to the top twenty entries.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed