{"version":"1.0","type":"rich","title":"Javascript Arrays","description":"This example demonstrates JavaScript array methods by logging transformations of a hardcoded dataset to the browser console. It uses `filter` to select even numbers, `sort` with a custom comparator and the imported `ascending` function from d3 to order values, and `map` to create objects containing each number and its double. A `reduce` operation converts an array of key-value objects into a single object keyed by the original keys. The example runs entirely in the console without producing any visual output on the page.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/91a18211dc854fe6acd68250b9f0ae41?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}