Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Selection Exploration

Public visualization

D3 Selection Exploration

0 stars0🌍 Public
XXuân Vinh
Last edited Nov 1, 2023
Created on Nov 1, 2023

This example demonstrates D3 selections and data joins by generating a row of 15 static circles across an SVG canvas. The visualization shows how `selectAll` combined with `data` and `enter` creates elements from an array of numbers. Using `d3.select` and `range`, it appends circles with a fixed radius and x-coordinate to the full-window SVG. The code relies on the core D3 selection API and SVG rendering, with no interaction or dynamic updates.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed