Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of JavaScript Basics Array Sort

Public visualization

Viewing a saved revision (read-only)

581c076d42674f1eb75449317768e1e4

Fork of JavaScript Basics Array Sort

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