Skip to main content
Public

Share visualization

Loading preview…

scatter plot

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

scatter plot

0
AAndrew Babilonia
Last edited Jul 3, 2021
Created on Jul 3, 2021
Forked from Stylized Bar Chart

This scatter plot visualizes the top 10 most populous countries in 2020, using horizontal bars to represent population sizes. The chart is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with SVG rendering for the marks and axes. Data comes from the UN World Population Prospects 2019, loaded via D3’s `csv` function and formatted with `format('.2s')` to display population in billions. Hovering over a bar reveals a tooltip with the precise value.

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