Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of styling dropdown and working...Fork 999 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 styling dropdown and working...Fork 999 of Stylized Bar Chart

0
88Tigers2020
Last edited Jul 21, 2021
Created on Jul 21, 2021

This bar chart displays the 10 most populous countries with selectable yearly population data. A dropdown menu lets viewers switch between years from 2008 to 2019, updating the bar heights accordingly. The chart renders SVG elements using React components, with D3 v5 utilities like `scaleBand` and `scaleLinear` handling the axes and scales. Data comes from the UN World Population Prospects 2019 dataset, loaded via `d3.csv`, with tooltips showing formatted population values.

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