Skip to main content
Public

Share visualization

Loading preview…

Activity6_task 1

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

Activity6_task 1

1
Mmaneeshraja47@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025
Forked from Hello VizHub

This visualization displays the 2020 population estimates for 30 countries as a horizontal bar chart, ranked by country name along the vertical axis and population magnitude along the horizontal axis. The chart is rendered as an SVG using React components, with D3 v5 providing the scale functions (scaleBand, scaleLinear), data loading via csv, and number formatting. The code imports data from a GitHub-hosted CSV file, calculates population values by multiplying the '2020' column by 1000, and includes axis components with custom tick formatting that converts abbreviations like 'G' to 'B'.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed