{"version":"1.0","type":"rich","title":"Cars Report","description":"This example demonstrates a simple report that lists cars priced under $2,500, using asynchronous data loading and string formatting. It shows how JavaScript modules, promises, and array methods like `filter`, `map`, and `join` work together. The code defines `getCars()` to return a promise that resolves after a 2-second delay, simulating a fetch of static JSON data, while `generateReport` filters and formats each car via the `formatCar` function. The final output replaces the loading text in the DOM with a multiline message, rendered inside a `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/646415f434a746abba0c7e237257a517?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}