Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Circles with D3

Public visualization

Viewing a saved revision (read-only)

817f329b66944309bd054f4356cf8772

Fork of Circles with D3

0 stars0🌍 Public
Rrpkupfer@wpi.edu
Last edited Aug 23, 2025
Created on Aug 23, 2025
Forked from Circles with D3

This example displays seven semi-transparent circles, each with a distinct color and radius, positioned at fixed coordinates on a soft green background using D3.js v7. The visualization constructs an SVG container sized to the full viewport and binds the static array of circle data to SVG circle elements via the `selectAll`/`data`/`join` pattern, setting attributes like `cx`, `cy`, `r`, and `fill` directly in the D3 selection. The code uses the `select` method to target the container div and imports from the D3 module, serving as a simple demonstration of data-driven SVG rendering without any interaction or animation.

AI-generated description