{"version":"1.0","type":"rich","title":"JS Arrays","description":"This example demonstrates core JavaScript array methods for data manipulation, including `forEach`, `filter`, `map`, and `reduce`, using a range of integers from 0 to 9 generated by a custom `range` function. It also shows how `reduce` can transform an array of key-value entries into a single object, with commented-out console logs illustrating each operation. The code imports `ascending` from the D3 v7 library but does not use it in the visible logic, and the visualization itself is text-based, with results intended for browser console output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dbe8cababb5245eebbef458102af844d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}