Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pseudo Scatter Plot with D3

Public visualization

Fork of Pseudo Scatter Plot with D3

0 stars0🌍 Public
Eethanrampersaud@gmail.com
Last edited Aug 11, 2025
Created on Aug 11, 2025

This example displays a scatter plot of seven circles positioned along a quadratic curve where each y-coordinate is the square of its x-coordinate (1, 4, 9, 16, 25, 36, 49). The visualization builds a full-viewport SVG via D3’s `select` and joined `join` operations, sizing it to the container’s dimensions, then renders the circles with `d3.r` set to 25 using the `renderCircles` function. The code separates setup and rendering into modular functions, importing data from a local `data.js` file that calculates coordinates with `Math.pow`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed