Skip to main content
Public

Share visualization

Loading preview…

Activity6_Question1.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_Question1.1

0
Ggnanendra097@gmail.com
Last edited Apr 5, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This example shows total population by country for the year 2000 as a horizontal bar chart, with country names along the vertical axis and population amounts along the horizontal axis. The bars are colored green, and hovering reveals a native tooltip with the formatted population value. Data comes from a CSV file loaded asynchronously via d3.csv, which then selects the top ten countries. The visualization uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear for the axes, and d3.format for abbreviating tick labels with "B" for billions.

AI-generated description

Population dataset, horizontal bar graph representation for Activity 6

Comments

Sign in to join the discussion.

MIT Licensed