🌍 Public
Viewing a saved revision (read-only)
4b565e332fa2495f85ffc960ab827d2e
activity 6_Task 1
This interactive bar chart displays the 2020 population estimates for 30 countries, using horizontal bars to compare values. Built with React and D3 v5, the visualization renders as an SVG. It loads data from a GitHub-hosted CSV, utilizing `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and D3's `format` function to abbreviate population values (e.g., "1.2B"). Tooltips provide the exact formatted population for each bar.
AI-generated descriptionA demonstration of how to start using D3 version 6.