Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_question1.2

Public visualization

Activity6_question1.2

0 stars0🌍 Public
Vvenkatdinesh5010@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

A horizontal bar chart displays the population of 20 countries in 2010, using data from a GitHub-hosted CSV file. The bars are rendered as lightgreen rectangles using SVG, with a linear x-scale for population values and a band y-scale for country names. D3 v7 handles the axis generation and formatting, converting population figures to abbreviated labels like "B" for billions. The chart includes labeled axes for both population and countries, and the code is organized into separate modules for data loading, axes, and marks.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed