Activity 6_task 1 Q1.2
✓ Published0🌍 Public
This bar chart displays the top 20 countries by 2010 population, using horizontal bars ordered by country name along the y-axis and population along the x-axis. Population values are formatted in billions, with tooltips showing each bar’s exact magnitude. The visualization is built with D3 v5’s `scaleBand` and `scaleLinear` for axes, while React components render SVG rectangles and tick marks. Data is fetched from a remote CSV via `d3.csv`, and the chart uses D3’s `format` to abbreviate axis labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed