🌍 Public
Viewing a saved revision (read-only)
61c4b6e9ada5427995d212f0458fb7ac
Fork of Activity 7
This chart shows the population of twenty countries in 2020, sorted alphabetically along the y-axis. An interactive SVG rendering uses horizontal bar lengths to encode each value. The React app loads CSV data from a remote GitHub source, then uses D3 v5's `scaleBand` and `scaleLinear` to position elements. The code defines custom `AxisBottom`, `AxisLeft`, and `Marks` components, relying on `d3.csv` for parsing and `d3.format` for tick labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.