🌍 Public
Viewing a saved revision (read-only)
fa0bef0252674fa9ae6ede4a8af3f53b
Cars Report
This example demonstrates a loading state that transitions into a text-based report of cars priced under $2,500. It uses an asynchronous `getCars` promise to simulate a two-second delay, then filters and formats car data with `generateReport` and `formatCar`. The report is rendered as plain text into an HTML element via `textContent`, showing a simple data-processing pipeline from JSON to user-facing output.
AI-generated descriptionAn example showing the capabilities of VizHub.