Activity 7_Task1
✓ Published1🌍 Public
This visualization displays the 2020 populations of 30 countries as a horizontal bar chart, using bar length to encode population values. It is rendered as an SVG using React components and D3 v5, specifically leveraging D3's `scaleBand` for the categorical y-axis, `scaleLinear` for the continuous x-axis, and `format` for tick labels that abbreviate large numbers (e.g., "B" for billions). The code imports data via D3's `csv` parser from a GitHub-hosted CSV file, and it constructs the chart with custom React components for axes and marks.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed