🌍 Public
Viewing a saved revision (read-only)
e900e0e57a8a4e1790752d3c6f17bb4b
Activity 7
A bar chart displays the top ten countries by population in 2020, with horizontal bars sorted by country name and formatted population values in billions. Built with React and D3 v5, the visualization uses `scaleBand` for categorical y-axes, `scaleLinear` for numerical x-axes, and SVG `rect` elements rendered from CSV data loaded via `d3.csv`. Axes are constructed with custom React components, and tick labels are formatted using D3's `format` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.