Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Sol LeWitt Reproduction - D3

Public visualization

Sol LeWitt Reproduction - D3

0 stars1๐ŸŒ Public
MMatheesha Yapa
Last edited Jun 27, 2023
Created on Jun 27, 2023

This example reproduces a Sol LeWitt-style geometric drawing using D3 version 7.8.5 in an SVG rendering. It shows a grid of 100 horizontal and vertical lines, with two circular masks creating a central overlap effect: one mask reveals lines through a black rect and white circle, while the other inverts the pattern. The code imports `select` and `range` from D3 to generate the line data, appends rectangles with calculated positions, and applies masks defined as SVG elements to produce the layered visual.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed