Activity 7
✓ Published1🌍 Public
This horizontal bar chart displays the population of ten countries in 2010, using a D3.js `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. The application, built with React, renders SVG `rect` elements scaled to population values, with D3's `format` function converting large numbers into abbreviated labels like “B” for billions. Data is loaded asynchronously via `d3.csv` from a remote GitHub repository, while custom `AxisBottom` and `AxisLeft` components generate the chart’s tick marks and labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed