Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

practice 1 - Circle overlap or opacity check

Public visualization

Viewing a saved revision (read-only)

471f6a35a4e643859a624d026f95d185

practice 1 - Circle overlap or opacity check

0 stars2🌍 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.