Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of activity6_task1 question2

Public visualization

Fork of activity6_task1 question2

0 stars0🌍 Public
Ppuppireddyarchana@gmail.com
Last edited Apr 7, 2025
Created on Apr 7, 2025

This visualization displays a horizontal bar chart that compares population counts by country for the year 2010. The chart uses a linear scale for the x-axis and a band scale for the y-axis, with bars rendered as SVG rectangles filled in steelblue. The code leverages d3.csv to load population data from a remote GitHub repository, then uses d3.axisBottom and d3.axisLeft to generate the axes. The x-axis labels are formatted using d3.format with the '.2s' specifier to abbreviate large numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed