Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

JavaScript Arrays

Public visualization

Viewing a saved revision (read-only)

7353dba8f5a74ec18190d9bb2e203b9f

JavaScript Arrays

0 stars1🌍 Public
MMatthew Bruffey
Last edited Jul 6, 2023
Created on Jul 5, 2023
Forked from HTML Starter

This example demonstrates JavaScript array manipulation using D3’s `ascending` import, with a custom `range` function that builds an array of 30 numbers. It shows filtering, sorting, mapping, and reducing operations on that array, logging each result to the console. The final step reduces an array of key-value entries into a single object, illustrating how `reduce` can transform data structures. No visual elements are rendered; the output is purely the console log of the processed arrays and objects.

AI-generated description