Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

GRID

Public visualization

Viewing a saved revision (read-only)

cfce38dc23e542d6a7e82a1dc8cc180f

GRID

0 stars0🌍 Public
CChristoph Diefenthal
Last edited Apr 1, 2020
Created on Apr 1, 2020
Forked from Catch me

A 10x10 grid of square cells responds to clicks by cycling through four fill colors: white, blue, orange, and gray, based on a per-cell click counter. The SVG is generated with D3 v4, using data binding to create rows and columns of `rect` elements. Each cell maintains its own click state, and the `d3.select(this)` method directly updates the clicked square’s style. The grid itself is static, with no animation or external data source beyond the locally generated coordinate and dimension objects.

AI-generated description