Skip to main content
Public

Share visualization

Loading preview…

Fork of Simple 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 Simple Bar Chart

0
Ssteven.ellis.haynes@gmail.com
Last edited Dec 2, 2024
Created on Dec 2, 2024
Forked from Simple Bar Chart

This fork of a Simple Bar Chart displays the top 10 most populous countries as of January 1, 2024, using data from the @curran/un-population-estimates-2024 package. The chart uses d3.scaleBand and d3.scaleLinear to position bars, with axis labels generated via the @curran/axis-labels module. The visualization sorts countries in descending order of population and filters for the 'Country/Area' type. The code imports from d3 and uses selection joins to create the SVG elements, with the chart adapted for viewing within a gallery iframe.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data

Comments

Sign in to join the discussion.

MIT Licensed