Activity 7 - Task 1
✓ Published0🌍 Public
This visualization shows a horizontal bar chart comparing the populations of ten countries in 2010, using green bars sorted by country name on the y-axis. The chart is built with React and D3 v5, using `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and SVG `rect` elements for bars. CSV data is loaded via `useData` with `d3.csv`, while custom `AxisBottom` and `AxisLeft` components render ticks and labels. Population values are formatted with `d3.format` and tooltips appear on hover via SVG `title` elements.
AI-generated descriptionMIT Licensed