{"version":"1.0","type":"rich","title":"epi 5 js arrays and stuff","description":"This example demonstrates JavaScript array manipulation and sorting techniques using D3’s `ascending` function. It creates a numeric range, filters, reverses, maps, and reduces the array while logging intermediate results. The code also sorts an array of object entries alphabetically by their `key` property using D3’s comparator, showing how to organize structured data. The data is generated programmatically and explores functional programming patterns with `forEach`, `filter`, `map`, and `reduce`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/64dc33031001498bacb1239e459579d7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}