🌍 Public
Viewing a saved revision (read-only)
a51de080ad894b94813d8cdab9d2f51c
Tutorial-1Activity-6
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