🌍 Public
Viewing a saved revision (read-only)
afda7162e9ec46c29409490cb18429ed
Cars Report
This example demonstrates a simple asynchronous data report for car listings. It displays a list of cars under a specified price threshold, showing each car’s year, make, model, and price. The page initially shows “loading...”, then after a two-second delay, it renders the filtered report using `getCars()` and a `Promise`. The code uses `JSON.parse` for the embedded dataset and `Array.filter`/`Array.map` to generate the final text output.
AI-generated descriptionAn example showing the capabilities of VizHub.