Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Ddmb4ur
Last edited Jan 13, 2022
Created on Jan 13, 2022
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub

MIT Licensed

Similar vizzes