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

2
Xxsg13
Last edited Nov 28, 2020
Created on Nov 28, 2020
Forked from Customizing Axis

This chart displays the population of the top 21 most populous countries as circles on a scatter plot, with each country positioned along the y-axis and its population scaled along the x-axis. The visualization uses d3.csv to load data from a CSV file, d3.scaleLinear for the population axis, and d3.scalePoint for the categorical country axis. Axes are rendered with d3.axisLeft and d3.axisBottom, with tick labels formatted using d3.format to abbreviate large numbers, such as converting billions to "B." The SVG rendering is handled entirely through D3 selections and appended elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed