Skip to main content
Public

Share visualization

Loading preview…

33. D3 Scatterplot Sqrt

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

33. D3 Scatterplot Sqrt

2
Aamakanju@nyit.edu
Last edited Feb 13, 2026
Created on Feb 9, 2026
Forked from 32. D3 Scatterplot

A scatterplot displays ten data points on a 500-by-100 SVG canvas, with each circle positioned according to its x and y coordinates. The circle radius is computed as the square root of the difference between the canvas height and the y-value, creating larger points toward the bottom. Built with D3.js version 4.5.0, the visualization uses the `selectAll`, `data`, and `enter` pattern to bind the dataset and append circles, setting the `cx`, `cy`, and `r` attributes through anonymous functions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed