Skip to main content
Public

Share visualization

Loading preview…

bar graph-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

bar graph-1

0
SSheela2930
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from Stylized Bar Chart

This bar chart displays the ten most populous countries based on 2019 United Nations population estimates, with country names on the vertical axis and population on the horizontal axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical axis, `scaleLinear` for the continuous axis, and renders SVG rectangles with tooltips. The code loads the data using `d3.csv` from a GitHub gist and formats population values using `d3.format`.

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