Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

426ba3c1062a4cc19dfb06f3025cc5ed

Cars Report

0 stars0🌍 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