🌍 Public
Viewing a saved revision (read-only)
52acf28e54164bc5b4d5e36f6e05c675
activity 6_Task 1
This bar chart displays the population of ten countries in the year 2000, with horizontal bars ordered by country name and encoded by population value. Rendered as an SVG via React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` to map data, while `AxisBottom` and `AxisLeft` components generate tick marks and labels. The data is loaded from a CSV file using D3’s `csv` function, and each bar includes a tooltip showing the formatted population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.