Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pseudo Scatter Plot with D3

Public visualization

Viewing a saved revision (read-only)

daed2921aacc4f2194e50b9ce3fc58c5

Pseudo Scatter Plot with D3

0 stars3🌍 Public
CCurran Kelleher
Last edited Sep 20, 2025
Created on Jun 25, 2025

This example shows a minimal scatter plot of six static data points, each rendered as a circle with a 34-pixel radius on a full-screen SVG canvas. It uses D3 v7’s join pattern: `selectAll('svg').data([null]).join('svg')` creates the canvas, while `selectAll('circle').data(data).join('circle')` binds the coordinates. The visualization adapts responsively to the browser window via a fixed-position container, and the data comes from a static JavaScript array in `data.js`.

AI-generated description

Can we