{"version":"1.0","type":"rich","title":"JavaScript Arrays","description":"This example demonstrates JavaScript array manipulation methods and how D3.js integrates with them. It shows a hardcoded array of numbers from 0 to 9 and an array of key-value objects, with the latter being sorted alphabetically by key using the `ascending` comparator from D3. The page displays the title \"JavaScript Arrays\" in large centered text, while the actual array operations—such as `map`, `reduce`, and `sort`—are executed in the console with commented-out examples for reference. The code relies solely on D3’s `ascending` function for sorting and does not render any visual chart or graphic.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d43c0d80f9de490fa3cf2c4ef789f4ca?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}