🌍 Public
Viewing a saved revision (read-only)
375aaa4f8b6846638d1c0f7843d34437
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.