Skip to main content
Public

Share visualization

Loading preview…

Female population Pathetic 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

Female population Pathetic Bar Chart

0
SSrividya Panchagnula
Last edited May 9, 2023
Created on May 9, 2023
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as horizontal bars representing their 2020 female population, rendered as an SVG with no axes or labels. The code uses React hooks to load data from a CSV provided by the United Nations World Population Prospects 2019, parsing the population values with `d3.csv`. It scales the bar widths using `scaleLinear` and positions them with `scaleBand`, while React's `useState` and `useEffect` manage the asynchronous data fetching and rendering.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed