Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

87687bbe9f0e461297c0d77b3a543159

Cars Report

0 stars0🌍 Public
Ddmcgown3
Last edited Aug 11, 2020
Created on Aug 11, 2020
Forked from Cars Report

This example demonstrates a simple text-based car report that filters a hardcoded dataset of five cars by price and displays matching entries formatted as strings. It shows how JavaScript modules coordinate to load simulated asynchronous data and render output into an HTML page. The code uses `JSON.parse` to convert inline JSON data, a `Promise` with `setTimeout` to mimic a delayed data fetch, and ES6 module imports/exports to split logic into separate files. The final report appears in a `<pre>` element with a loading message shown first.

AI-generated description

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