Skip to main content
100%

Fork of Activity 6_Question 1-1.2

✓ Published1🌍 Public
HHarshita Vairagade
Last edited Apr 13, 2024
Created on Apr 13, 2024

A horizontal bar chart displays the top ten countries by 2020 population, with bars extending rightward from a blue axis line and a green fill. The visualization uses React to render SVG elements, with D3 v5 scales (`scaleBand`, `scaleLinear`) mapping country names and population values. Data loads asynchronously from a GitHub-hosted CSV file via `d3.csv`, and tick labels format large numbers using `d3.format` with a custom 'B' suffix replacement.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes