Fork of Circles with D3
✓ Published0🌍 Public
A fork of the "Circles with D3" example renders seven semi-transparent colored circles on a fixed full-viewport SVG, each containing a small square of contrasting color. The visualization demonstrates static, hard-coded positional data for both shapes, using D3 v7’s `select` and `join` API to bind data arrays to `circle` and `rect` elements. Circle fills are specified per datum, while squares cycle through a separate array of colors via the index parameter. The SVG is sized to the container’s client dimensions.
AI-generated descriptionMIT Licensed