Skip to main content
Public

Share visualization

Loading preview…

activity 6_Task 1

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_Task 1

0
Mmohanalaharic@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025
Forked from Hello VizHub

This bar chart displays the populations of 30 countries for 2020, with countries listed along the vertical axis and population values extending horizontally. The visualization uses React and D3 v5, implementing custom `AxisBottom`, `AxisLeft`, and `Marks` components to render SVG elements. Population data is loaded via d3.csv, with values formatted using d3.format. Bars appear in green (#90ee90), while axes and labels use muted grays. The chart includes hover tooltips showing formatted population values, and the x-axis label indicates "POPULATION-2020".

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed