Activity 7
✓ Published0🌍 Public
This visualization presents a horizontal bar chart ranking the populations of 20 countries in 2020, from largest to smallest. The data is loaded from a remote CSV file and rendered as an SVG using the React framework with D3 version 5. The code uses D3's `scaleBand` and `scaleLinear` functions to map country names and population values to the chart's axes, with `format` for tick labels. Interactive tooltips, generated from the `Marks` component, display each bar's value on hover.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed