Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Grid with d3

Public visualization

Viewing a saved revision (read-only)

35a9e9bf1d4448b68fb6ef7c10d78947

Grid with d3

0 stars0🌍 Public
MMark Lam
Last edited Nov 5, 2021
Created on Nov 5, 2021
Forked from setInterval

A 10×10 grid of black circles is rendered in an SVG, with each circle positioned at evenly spaced intervals and sized by its data-defined width. The visualization uses React to manage the component structure and d3-selection to append and bind data to SVG elements. The code generates the grid data programmatically, then applies a nested join pattern with `selectAll` and `.join()` to create rows and columns of circles.

AI-generated description

A grid made of d3 elems.