activity-6 question1.1
✓ Published0🌍 Public
A horizontal bar chart displays the population of ten countries in the year 2000, using a green SVG rect for each country. The chart loads population data from a remote CSV file, processes it with `d3.csv`, and renders the bars with React components. D3’s `scaleBand` and `scaleLinear` map the country names and population values to screen positions and widths, while custom `AxisBottom` and `AxisLeft` components draw the axes. Hovering over a bar reveals a native tooltip with the population value, formatted using `d3.format`.
AI-generated descriptionMIT Licensed