Skip to main content
Public

Share visualization

Loading preview…

ACT 6 T1

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

ACT 6 T1

0
Ppavithranamburi24@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This visualization displays the 2020 population estimates for 30 countries using a horizontal bar chart. Built with React and rendered as an SVG, it loads population data from a CSV file and uses D3's `scaleBand` and `scaleLinear` to map countries and population values to coordinates. The chart features blue tick lines, gray labels, and green bars, with hover tooltips showing formatted population values in billions. The code demonstrates local ES6 module imports for axes and marks, along with D3's `csv` loader, `format` for number formatting, and `max` for domain calculation.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed