{"version":"1.0","type":"rich","title":"JS Arrays","description":"This example demonstrates sorting an array of JavaScript objects using the D3.js library. The code defines an array, `thing`, containing two objects with `key` and `value` properties, then sorts it using the `descending` function from `d3` within the `Array.sort()` method. The sorted array is logged to the console, showcasing how D3's comparison helpers can be used to order data. The visualization simply relies on a console output to display the result.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3eac767111214725b3671d8cba2128a6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}