Skip to main content
100%

Tutorial-1Activity-6

✓ Published0🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024

This horizontal bar chart displays the 2020 population for 30 countries, using green bars to represent each nation's total. The data is loaded from a GitHub-hosted CSV file, which is processed with the `d3.csv` function and formatted with `d3.format` to convert large numbers into readable abbreviations like "1.2B". Built with React and rendered as SVG, the visualization employs `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the continuous x-axis, with blue tick lines and custom axis labels styled via CSS.

AI-generated description
MIT Licensed

Similar vizzes