activity 6_Task 1
✓ Published1🌍 Public
This visualization presents a horizontal bar chart comparing the populations of ten countries in 2000, with countries listed along the vertical axis and population values represented by bar widths. The chart uses React with D3 v5, leveraging `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, with population values processed by multiplying the 2000 column by 1,000. The SVG rendering includes custom `AxisBottom` and `AxisLeft` components, while each bar in the `Marks` component includes a native `title` tooltip showing the formatted population value.
AI-generated descriptionReact Starter code.
MIT Licensed