Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

212af89ad21b49eca770c076c1ea44e3

Cars Report

0 stars1🌍 Public
Yyejichun@naver.com
Last edited Aug 7, 2021
Created on Jul 24, 2021
Forked from Hello VizHub

This example demonstrates a text-based report of cars filtered by a maximum price. It shows how JavaScript modules, arrays, and promises work together to generate a formatted list. The code uses the native `Promise` and `setTimeout` to simulate a network request, and `JSON.parse` to load car data. `filter`, `map`, and `join` methods process the array, while a custom `formatCar` function formats each entry into a readable string, which is displayed in the browser via `textContent`.

AI-generated description

An example tutorial of how to use JavaScript objects, arrays, and modules.