Fork of Task1_activity7
✓ Published0🌍 Public
This example shows a horizontal bar chart of population figures for ten countries in the year 2000, sorted by country name. The visualization uses React to render SVG elements, with D3 v5 scales (d3.scaleBand and d3.scaleLinear) positioning the bars and axes. Data is loaded via d3.csv from a GitHub-hosted CSV file, and popup tooltips appear on hover using SVG `<title>` elements. The chart applies D3’s d3.format with the '.2s' SI prefix to abbreviate population values, such as converting billions to "B" labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed