Skip to main content
100%

practice 1 - Circle overlap or opacity check

✓ Published2🌍 Public
NNita
Last edited Nov 7, 2018
Created on Aug 27, 2018

A circle-overlap visualization arranges ten concentric circles of increasing radius along a diagonal, each filled with a distinct color and outlined in black, to test how opacity reveals underlying shapes. The SVG rendering, created with D3 v5, uses `select` and `append` to add `<circle>` elements from an array of radius and color objects, with the data reversed before binding. The group containing the circles is scaled by 1.5 via a transform attribute, while each circle’s position and size are set directly from its radius value. This example demonstrates basic D3 data joins and SVG attribute manipulation.

AI-generated description

This is a description using Markdown.

MIT Licensed

Similar vizzes