🌍 Public
Viewing a saved revision (read-only)
073e49c0a70e452da7a35dd02e8f38a0
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.