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

1
VVENKATESWAR RAO CHINTA
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity 7

This example displays a horizontal bar chart of the top 30 countries by 2020 population, with bars colored light green and ranged along a linear population scale. The React-based visualization uses D3 v5 utilities including `scaleBand`, `scaleLinear`, `max`, and `format`, importing CSV data from a GitHub repository. Axis components render tick lines and labels through custom JSX, while SVG rectangles in the Marks component include native tooltips via `<title>` elements, with population values formatted in billions.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed