Skip to main content
Public

Share visualization

Loading preview…

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

0
KKIRRAN P L
Last edited Dec 7, 2023
Created on Dec 7, 2023

This chart displays the top 10 most populous countries for 2020 using horizontal bars, with countries on the y-axis and population counts on the x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning and `d3.csv` to load United Nations World Population Prospects 2019 data. Fixed-width SVG rectangles represent each country, while D3's `format` function converts tick labels to abbreviated values like "1.4B". The chart includes styled axes with Poppins font and red bars on a white background.

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