Activity6_Question1.2
✓ Published0🌍 Public
This example shows a horizontal bar chart comparing the 2020 populations of twenty countries, ranked in descending order. The visualization uses React to render SVG elements, with D3 v5 (d3.scaleBand, d3.scaleLinear, d3.csv, d3.format) handling data loading and scaling. Bars are drawn as rectangles, with axis components for bottom and left labels, and a tooltip showing abbreviated population values. The dataset is fetched from a remote CSV file and processed to convert population figures to absolute numbers.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed