Skip to main content
Public

Share visualization

Loading preview…

Activity 6

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

1
Aamireddy.sw@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

A horizontal bar chart displays population estimates for 30 countries in 2020, sorted by country name. The chart uses D3 v5 and React to render SVG elements, with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. Data is loaded via `d3.csv` from a GitHub repository, with population values converted from thousands. The code formats tick labels using `d3.format` and includes interactive tooltips via SVG `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed