🌍 Public
Viewing a saved revision (read-only)
9f954d463edc401aa075187b9aa9d316
Activity 6_Task 1
This horizontal bar chart displays the population of 20 countries in 2010, sorted by country name. The visualization uses React with D3 v5 scales (scaleBand and scaleLinear) to position bars and axes within an SVG, with tick marks and labels rendered by custom AxisBottom and AxisLeft components. Population values are loaded from a CSV file, formatted using d3.format's SI notation (converting G to B), and tooltips appear on hover via SVG title elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.