🌍 Public
Viewing a saved revision (read-only)
d7ab2069485d403faf3842f9d5531976
activity6q1
This visualization shows the top 10 countries by 2020 population as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The bars are colored light green and display a formatted tooltip on hover. It uses React with D3 v5, employing `scaleBand` and `scaleLinear` for positioning, `d3.csv` for loading population data from a GitHub-hosted CSV file, and SVG rendering with custom `AxisBottom`, `AxisLeft`, and `Marks` React components.
AI-generated descriptionA demonstration of how to start using D3 version 6.