Activity 6_Question1b
✓ Published1🌍 Public
This bar chart displays the population of 20 countries in 2020, sorted alphabetically by country name. The visualization is built with React and D3 v5, using SVG rendering. The code defines `AxisBottom`, `AxisLeft`, and `Marks` components that leverage `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the population x-axis. Data is loaded from a CSV file via `d3.csv`, with population values calculated by multiplying 2010 figures by 1000.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed