Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Full Sol LeWitt Reproduction with D3 - exercises

Public visualization

Viewing a saved revision (read-only)

c0267750edcd4fc68e3d2bbf4a5b36b6

Full Sol LeWitt Reproduction with D3 - exercises

1 star1🌍 Public
Gguts
Last edited Oct 11, 2023
Created on Oct 11, 2023

This example reproduces a Sol LeWitt-inspired geometric composition using D3.js. It displays four distinct shapes—a black diamond, a yellow four-pointed star, a red cross, and a blue rotated square—positioned across the screen. The visualization uses SVG rendering with D3’s `symbol` generator, applying rotations and translations via `attr('transform')` to arrange each shape. The code relies on D3 v7, importing the library and using `d3.symbol` with different symbol types and sizes, while filling each path with specific colors.

AI-generated description

A reproduction of a Sol LeWitt art piece.