Skip to main content
100%

Fork of JavaScript Basics Array Sort

✓ Published1🌍 Public
Ccssergio
Last edited May 25, 2022
Created on May 24, 2022

This example reproduces a Sol LeWitt art piece using an SVG canvas, with 960 by 500 pixel dimensions. The visualization is constructed through D3.js version 7.4.4, using functions like `select` and `range` to generate and manipulate data arrays. The code primarily demonstrates array sorting methods, including custom comparators and D3's `ascending` function, applied to entries with key-value pairs. The rendering approach is purely SVG-based, with the art piece emerging from the programmatic arrangement of visual elements based on sorted data structures.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes