Skip to main content
Public

Share visualization

Loading preview…

Activity6_Task1

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_Task1

2
Ssreejabommineni1506@gmail.com
Last edited Apr 16, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This horizontal bar chart displays the populations of up to thirty countries, sorted from largest to smallest, with a teal fill for each bar. Built with React and D3 v7, it renders as an SVG, using `scaleLinear` for the population axis and `scaleBand` for the categorical country axis. The data is loaded from a CSV file via `d3.csv`, with a fallback to sample data if the fetch fails. Axis ticks are formatted to display millions (e.g., "1M").

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed