🌍 Public
Viewing a saved revision (read-only)
dc0e643f8f0b4ac292dffe06320f239a
Fork of Activity 7
A horizontal bar chart ranks ten countries by their 2000 population, using React to render SVG elements. D3 v5 functions (`scaleBand`, `scaleLinear`, `max`, `format`) drive the scales and tick formatting. The chart loads CSV data via `d3.csv` from a GitHub repository, slicing to the top ten rows. Axis components and rectangle marks are built with JSX, with `<title>` elements providing native tooltips.
AI-generated descriptionA demonstration of how to start using D3 version 6.