Activity 6_Tutorial1
✓ Published1🌍 Public
This example displays a horizontal bar chart of the 2020 population for 30 countries, where each bar’s length encodes the numeric value and the y-axis lists country names. The visualization is built with React and D3 v5, using `d3.scaleBand` and `d3.scaleLinear` to map data to SVG rectangles. The data is loaded from a CSV file via `d3.csv`, and hover tooltips show formatted population values using `d3.format` with SI prefixes.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed