Activity 6_Task 1
✓ Published0🌍 Public
This example shows a horizontal bar chart comparing the 2020 populations of 30 countries, ranked by country name along the y-axis and population along the x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning, while axes and marks are rendered as SVG elements. Population values are loaded from a CSV file via `d3.csv`, formatted with `d3.format`, and tooltips display each bar’s value on hover.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed