Activity 7_Task 1
✓ Published0🌍 Public
This visualization shows the populations of 20 countries in 2020 as a horizontal bar chart, with each country’s population represented by a violet rectangle and labeled on the left axis. The chart uses React components and D3 v5’s `scaleBand` and `scaleLinear` to map country names and population values, with the x-axis formatted using `format('.2s')` to display values in billions. Data is loaded from a CSV via `d3.csv`, and the bars include native SVG `<title>` elements for tooltips.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed