🌍 Public
Viewing a saved revision (read-only)
32d395f2dca4481e81cf2dd97e4de01d
Fork of Activity 7
This fork of Activity 7 presents a horizontal bar chart of population data for 30 countries in 2020, sorted by country name. The chart uses React to render SVG elements, with D3 scales (scaleBand and scaleLinear) and format utilities computing positions and tick labels. The graph displays axis lines and text in blue and gray, with green bars that include tooltips showing formatted population values. Data is loaded asynchronously from a GitHub-hosted CSV file using d3.csv, and the visualization updates after the data fetch completes.
AI-generated descriptionA demonstration of how to start using D3 version 6.