Skip to main content
100%

Cars Report

✓ Published1🌍 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.

MIT Licensed

Similar vizzes