Activity6_Question1.1
✓ Published0🌍 Public
This visualization is a horizontal bar chart that displays the population of ten countries in the year 2000. The chart ranks the countries by population, with bars extending from the left axis, and it uses a tooltip to show the exact population value for each bar. The visualization is rendered as an SVG using React and D3 v5. The code uses D3's `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with data loaded via `d3.csv` from a remote GitHub source. The `AxisBottom`, `AxisLeft`, and `Marks` components are custom React components that generate ticks and rectangles for the chart.
AI-generated descriptionMIT Licensed