Skip to main content
Public

Share visualization

Loading preview…

Question

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

Question

0
Aadityatrip9899@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Simple Bar Chart

This bar chart shows the top 10 most populous countries on Earth as of January 1st, 2024. The code uses D3.js with `scaleBand` and `scaleLinear` to map country names to the x-axis and population values in thousands to the y-axis. It imports data from the `@curran/un-population-estimates-2024` package, filters for country-type records, and sorts them in descending order to select the top ten. The `viz` function renders axes, labels, and rectangles to create the visualization.

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