Skip to main content
Public

Share visualization

Loading preview…

Activity 6_Question 1.2

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_Question 1.2

0
Mmsnikhil2608@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025

A horizontal bar chart displays the populations of 20 countries in 2010, with bars sorted by country name along the y-axis and population values on the x-axis. The chart is built with React and D3 v5, using `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `format` to abbreviate tick labels (e.g., showing "1.2B" instead of 1,200,000,000). Data is loaded from a CSV file via `d3.csv` and rendered as SVG rectangles with hover tooltips.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed