{"version":"1.0","type":"rich","title":"js basics","description":"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.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b98d60c00c8840c589964ebbed24d05f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}