Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task Q 1.2

Public visualization

Activity 6 Task Q 1.2

0 stars0🌍 Public
LLohitha Konidena
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

This horizontal bar chart displays the 2010 population for the top 20 countries, using a light green fill for each bar. Country names appear on the y-axis, while the x-axis measures population in billions, formatted with D3’s `.format` method. The chart is built with D3 v7, using `d3.scaleLinear` and `d3.scaleBand` to map data, and renders as an SVG. Data is loaded from a CSV file hosted on GitHub, filtered to the first 20 rows.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed