Activity_6 Q1.1
✓ Published1🌍 Public
This horizontal bar chart ranks the population of the top 10 countries for the year 2000, using the United Nations dataset fetched from a GitHub CSV. The React application uses D3 v5’s `scaleBand` and `scaleLinear` to map country names and population values to the SVG canvas. Green bars are rendered via the custom `Marks` component, which includes a tooltip (`<title>`) showing the formatted population (e.g., “1.28B”). Styled axes come from `AxisBottom` and `AxisLeft`, with blue tick lines and formatted labels using `d3.format`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed