🌍 Public
Viewing a saved revision (read-only)
ef04d96e276d4785a451452b10d28329
Cars Report
This example demonstrates a text-based report of cars filtered by price, displaying each car’s year, make, model, and price in a large, styled `<pre>` element. It shows a loading message before asynchronously fetching car data via a Promise and then generating a formatted list. The code uses `getCars` to simulate a delayed JSON data source, `generateReport` to filter and format entries with `formatCar`, and relies on plain JavaScript string methods like `map` and `join`.
AI-generated descriptionAn example showing the capabilities of VizHub.