Skip to main content
100%

Activity 6 - task 1

✓ Published1🌍 Public
Jjayakrishnanallani5@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025

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
MIT Licensed

Similar vizzes