Task8Q1DV
✓ Published0🌍 Public
A horizontal bar chart displays the population of ten countries in the year 2000, with the y-axis ordered by country name. Bars are rendered as green SVG rectangles, their lengths proportional to population values read from an external CSV file. The chart uses React to build the SVG structure with D3 v5’s `scaleBand` for categorical y-axes and `scaleLinear` for the quantitative x-axis, formatted with `format('.2s')` to abbreviate large numbers. Hovering over a bar reveals its exact value via a native `<title>` tooltip, and axes are styled with blue tick lines and gray labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed