Fork of Activity 6 task1-Q2
✓ Published1🌍 Public
This visualization shows the top 20 countries by population in 2010 using a horizontal bar chart. The SVG rendering uses D3 v6’s `scaleLinear` and `scaleBand` to map population values and country names to bar lengths and vertical positions. The bars are dark green and turn orange on hover. Axes are drawn with `axisBottom` and `axisLeft`, with tick labels formatted using D3’s `.2s` format, and the data is sourced from a static array returned by `getPopulationData`.
AI-generated descriptionMIT Licensed