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

0
Mmaheshsachin1234@gmail.com
Last edited Mar 28, 2025
Created on Mar 28, 2025
Forked from Activity 7

A horizontal bar chart displays 2020 population figures for 30 countries, ordered by country name, using a green fill for each bar. Built with React and D3 v5, the visualization maps population values to bar lengths via a linear scale and country names to vertical bands via a band scale. The code uses `scaleBand`, `scaleLinear`, and `format` from D3, rendering all elements as SVG. Hovering reveals the population value through a native `<title>` tooltip, and the data is loaded from a remote CSV file using D3's `csv` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed