Skip to main content
Public

Share visualization

Loading preview…

Fork of Activity-6_Task-1 dummy

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

Fork of Activity-6_Task-1 dummy

0
Sshravan.s0710@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity-6_Task-1

This bar chart displays the 2020 population estimates for 30 countries, sourced from a GitHub-hosted CSV file. It uses React to render SVG elements, with D3 v5 functions like `scaleBand` and `scaleLinear` to position bars and axes. The bars are colored green, and each includes a native SVG `<title>` tooltip showing the formatted population value. Custom axis components handle the bottom and left tick marks, with population labels abbreviated using D3’s `format` API.

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