Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

1c44f157f1fc43209dfef1eb28f27812

Cars Report

0 stars1🌍 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.