Skip to main content
Public

Share visualization

Loading preview…

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

Bar Chart

1
TTiff
Last edited Jan 20, 2023
Created on Jan 20, 2023

This bar chart displays the population of eight countries, scaled by a factor of one thousand. The visualization uses a horizontal bar layout, with country names on the y-axis and population counts on the x-axis, all rendered as red rectangles. The data, sourced from the United Nations World Population Prospects, is loaded from a CSV file and processed with D3 v5. The chart employs D3’s `scaleLinear` and `scaleBand` to map population values and country categories to SVG coordinates.

AI-generated description

taken from [united nations population] (https://population.un.org/wpp/Download/Standard/Population/)

Comments

Sign in to join the discussion.

MIT Licensed