🌍 Public
Viewing a saved revision (read-only)
18d7c892ef3e4fb795e93426702b12df
Activity 6 - task 1
This visualization presents a horizontal bar chart ranking the ten most populous countries in 2000, using population values from a static JavaScript array. The bars extend proportionally to population size, with each bar labeled by its exact count in full numerals. Built with D3.js v6, the chart uses `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and renders bars as SVG rectangles with steelblue fill. Axis ticks are formatted in millions, and the chart includes gridlines via `tickSize(-innerHeight)` within an SVG container.
AI-generated description