🌍 Public
Viewing a saved revision (read-only)
a50de2cda5174a63bf64c5d9cda7a352
Cars Report
This example displays a text-based report of car listings, showing the model, make, year, and price for each vehicle in the dataset. It presents the data as a simple, readable message on the page. The code loads car data from a JSON string parsed with `JSON.parse`, fetches it asynchronously via a `getCars()` promise, and generates the report text using a `generateReport` function. The page updates the DOM element’s text content to display the final result.
AI-generated descriptionAn example showing the capabilities of VizHub.