Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Nndhokalelearning
Last edited Nov 15, 2020
Created on Nov 15, 2020
Forked from Hello VizHub

This example demonstrates a simple text-based car report. The page initially displays “loading…” and then, after a 10-second delay, renders a formatted list of cars priced under a given maximum. The report formats each vehicle as “year make model : $price” using data from a hardcoded JSON array. The code relies on JavaScript modules, the `Promise` API with `setTimeout`, and uses `Array.filter`, `Array.map`, and `Array.join` to generate the final output, which is inserted into the DOM via `textContent`.

AI-generated description

A sample to use Javascript arrays, objects, and modules.

MIT Licensed

Similar vizzes