Activity 6 Question 1
✓ Published0🌍 Public
This bar chart displays the population of ten countries in the year 2000, using horizontal bars sorted by country name. The visualization uses D3 v5 scales (scaleBand and scaleLinear) within a React component, rendering to SVG. Data is loaded from a CSV file via D3’s csv function, with the population values formatted using a custom tick formatter that converts large numbers to abbreviated forms like "B" for billions.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed