Skip to main content
100%

arrays

✓ Published1🌍 Public
SSamuele Greco
Last edited Feb 9, 2022
Created on Feb 9, 2022
Forked from HTML Starter

This example demonstrates fundamental JavaScript array operations through console logging, including iteration, filtering, sorting, mapping, and reducing. It shows a custom `range` function, a sorting comparator for numbers, and how to build objects from array entries using `reduce`. The code imports `ascending` and `descending` from D3 to illustrate library-based sorting, and relies on D3 version 7.3.0 for these utilities. The visualization itself is minimal—a single HTML page with a large styled message—while the core content lives in the script’s output.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes