Activity 6_Task 1
✓ Published0🌍 Public
This example shows a horizontal bar chart of population estimates for 30 countries in 2020, sorted alphabetically by country name. React components render the SVG visualization, while D3 v5 utilities handle data loading with `d3.csv`, linear scaling with `scaleLinear` for the x-axis, and band scaling with `scaleBand` for the y-axis categories. The code formats tick labels using `d3.format`, and bars include native SVG `<title>` tooltips. Data comes from a remote CSV file, with population values multiplied by 1000 during preprocessing.
AI-generated descriptionMIT Licensed