Skip to main content
Public

Share visualization

Loading preview…

Activity 6

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity 6

1
Aa9.hemraj@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025

This horizontal bar chart ranks the 30 most populous countries by their 2020 population estimates, with bars extending from left to right and the y-axis ordered alphabetically by country name. The visualization uses React components to render SVG elements, with D3’s `scaleBand` and `scaleLinear` handling the positional encodings, while axis components manually generate ticks and labels. Population values are formatted using D3’s `format` function, converting values to billions with an ‘B’ suffix, and the source data is loaded via `d3.csv` from a GitHub-hosted CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed