Skip to main content
100%

D3 Selection Exploration

✓ Published0🌍 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.

MIT Licensed

Similar vizzes