Activity_6_TASK1_DV
✓ Published1🌍 Public
A horizontal bar chart displays the populations of 30 countries for the year 2020, sorted by country name along the y-axis. The chart uses React with D3 v5 to render SVG elements, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Population values are loaded from a remote CSV, formatted with D3's `format` function to abbreviate large numbers (e.g., billions as "B"), and bars are colored light green. The visualization includes labeled axes and a native SVG tooltip on each bar.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed