Fork of Task8_Q1.2
✓ Published1🌍 Public
This horizontal bar chart displays the populations of 20 countries in 2010, sorted by name along the y-axis with population magnitudes extending along the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical axis and `scaleLinear` for the numeric domain, rendering SVG rectangles via the `Marks` component. The data loads from an external CSV using D3’s `csv` method, and axis ticks are formatted with `format('.2s')` to abbreviate large numbers, with tooltips showing exact values.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed