🌍 Public
Viewing a saved revision (read-only)
26de5b04b4d640b588767f17cd8429a8
activity 6_Task 1
This visualization shows the population of 30 countries in 2020 as a horizontal bar chart. The React-based code uses D3 v5 to load CSV data, and employs `scaleBand` and `scaleLinear` to map country names and population values to screen coordinates. The SVG rendering includes custom axis components and rectangle marks, with tooltips showing formatted population values. Data originates from a GitHub-hosted CSV file, and the chart is rendered entirely with SVG elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.