Skip to main content
Public

Share visualization

Loading preview…

39. D3 Scale Plot Radii

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

39. D3 Scale Plot Radii

1
Aamakanju@nyit.edu
Last edited Feb 26, 2026
Created on Feb 9, 2026

A scatterplot displays ten data points as circles with adjusted radii, each labeled with its coordinate pair. The plot uses D3.js version 4.5.0 scaleLinear functions to map x and y values to screen positions, while a third scale maps the second coordinate to circle radius between 2 and 5 pixels. The SVG visualization renders with red text labels and sans-serif font, demonstrating how D3 scales control both position and size.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed