Activity6_Task1_Question1
✓ Published0🌍 Public
This bar chart displays the population of ten countries in the year 2000, using horizontal bars sorted by the categorical variable Country. The visualization is rendered as an SVG using React, with D3’s `scaleBand` mapping countries to the y-axis and `scaleLinear` mapping population values to the x-axis. Data is loaded from a remote CSV file via D3’s `csv` function, and each bar includes a tooltip showing the formatted population value using D3’s `format` API.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed