Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

js basics

Public visualization

Viewing a saved revision (read-only)

b65910f25cf84c589c627a1b6ca46f19

js basics

0 stars0🌍 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.