{"version":"1.0","type":"rich","title":"Cars Report","description":"This example demonstrates a text-based report of cars priced under £25,000, generated asynchronously from a hard-coded JSON array. It shows how JavaScript modules, promises, and array methods like `filter` and `map` can transform raw data into formatted output. The code uses `getCars()` with a simulated 2-second delay to mimic an API call, then `generateReport` combines `formatCar` to display each vehicle’s make, model, sale price, and retail price. The result populates the page’s `<pre>` element, replacing a \"Loading...\" placeholder.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5a8249edaa2b428198b3179c26a2c622?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}