Cars Report
✓ Published0🌍 Public
This example shows a text-based report of cars filtered by price. It displays a loading message while fetching car data asynchronously, then renders each car’s year, make, model, and price on separate lines. The code uses a Promise-based `getCars` function with `setTimeout` to simulate a two-second delay, then filters the parsed JSON array with `filter` and formats entries via `map` and `join`. The report appears in a `<pre>` element, styled at a large font size.
AI-generated descriptionAn example showing the capabilities of VizHub
MIT Licensed