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
Iiffath.namira@csedge.org
Last edited Jan 10, 2025
Created on Jan 10, 2025
Forked from Simple Bar Chart

This fork of a simple bar chart visualizes the top 10 most populous countries in 2024, using data from the UN population estimates. The chart shows population counts in thousands, with each bar labeled by country name. The visualization uses D3's `scaleBand` and `scaleLinear` for axes, along with `axisLeft` and `x`/`y` axis label functions from the `@curran/axis-labels` library. A light gray inner rectangle highlights the plot area, and the bars are rendered as `rect` elements. The data is sorted in descending order and filtered to only include country or area types before selecting the top 10.

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