🌍 Public
Viewing a saved revision (read-only)
9ebe090ec16e40f395222c4c8438ad8c
DV TASK-8(Q1)
This bar chart ranks the top ten countries by population for the year 2020, using horizontal bars to compare values. The visualization is built with React and D3 v5, rendering SVG elements through reusable components for axes and marks. Data is loaded via `d3.csv` from a GitHub repository, with population values formatted using `d3.format` to abbreviate large numbers with "B" for billions. The chart includes a bottom axis with tick lines and a left categorical axis for country names.
AI-generated descriptionA demonstration of how to start using D3 version 6.