{"version":"1.0","type":"rich","title":"Cars Report - 2","description":"This example demonstrates how JavaScript can fetch and report used car listings by applying filtering and formatting logic. It shows a car report generated as text, displaying only vehicles priced under $2,000, with each entry formatted as “year make model: $price.” The visualization relies on asynchronous data loading via `getCars`, which returns a promise resolving after a simulated delay, and then uses `generateReport` to filter the parsed JSON array and map each car through the `formatCar` function. The result is rendered into a `<pre>` element on the page, updating its text content from “Loading…” to the final report.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d8cda863b5e54a51bbc0af835d76921c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}