Skip to main content
100%

js basics

✓ Published0🌍 Public
YYingkai Song
Last edited Dec 2, 2022
Created on Dec 2, 2022

This example reproduces a Sol LeWitt art piece using D3.js. The visualization is rendered in an HTML page with a minimal setup, while the core logic resides in a JavaScript file that uses D3’s array mapping API to transform a range of numbers. The code applies `map` to the array `[1, 2, 3, 4]`, multiplying each value by 2 and logging the result to the console, demonstrating a basic functional programming pattern in D3. No graphical output is drawn; the piece focuses purely on the programming foundation.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes