Skip to main content
Public

Share visualization

Loading preview…

36. D3 Scale 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

36. D3 Scale Plot

1
Aamakanju@nyit.edu
Last edited Feb 26, 2026
Created on Feb 9, 2026
Forked from 35. D3 Scale Test

A scatterplot positions ten data points as circles on an SVG canvas using linear scales. The `d3.scaleLinear()` API maps the dataset’s x- and y-value domains to pixel ranges of 500 by 100, while circle radii derive from the square root of the height minus each y-value. Red text labels display the original coordinate pairs.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed