🌍 Public
Viewing a saved revision (read-only)
0519280afb174f3e9c3983868aed4b36
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.