🌍 Public
Viewing a saved revision (read-only)
3ec47c37fa664fb18b4fde8c919599d8
Task_8_Q1.1
This bar chart displays the population of ten countries in the year 2000, using horizontal bars sorted by country name. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values are parsed from a CSV file and formatted with D3's `format` function, converting values to billions. The chart includes custom axis components and uses SVG rectangles with tooltips showing the precise population for each country.
AI-generated descriptionA demonstration of how to start using D3 version 6.