🌍 Public
Viewing a saved revision (read-only)
deb3c65df5884755ac4862c0f0d8174f
Activty6_question1.2
This example displays a horizontal bar chart of the 2010 population for 20 countries. The visualization uses a React front end with D3 v5 modules, including `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Population and country data are loaded from a remote CSV via `csv`, and the bars are rendered as SVG `<rect>` elements, with tooltips showing the population values.
AI-generated descriptionA demonstration of how to start using D3 version 6.