Skip to main content
Public

Share visualization

Loading preview…

Fork of Stylized Bar Chart

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 Stylized Bar Chart

0
Nnkp1111
Last edited Sep 1, 2022
Created on Sep 1, 2022
Forked from Stylized Bar Chart

This visualization displays the ten most populous countries as horizontal bars, ranked by population with the country name on the y-axis and population count on the x-axis. Hovering over a bar reveals the exact population value in a browser tooltip. The chart is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning, with SVG rendered elements. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv` and formatted with a custom tick formatter that converts large numbers to abbreviations.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed