Skip to main content
100%

33. D3 Scatterplot Sqrt

✓ Published3🌍 Public
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
MIT Licensed

Similar vizzes