Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

5a3af78d98354371ba365db2127c9d40

Cars Report

0 stars1🌍 Public
OOliver Wills
Last edited Jun 18, 2020
Created on Jun 18, 2020
Forked from Cars Report

This example demonstrates a simple text-based report of car listings, filtering and formatting data to display each car’s year, make, model, and price. It uses JavaScript modules with `export` and `import` statements, a `Promise` with `setTimeout` to simulate asynchronous data fetching, and the `JSON.parse` method to load embedded car data. The report is generated by chaining `filter`, `map`, and `join` array methods, with results rendered into an HTML `<pre>` element.

AI-generated description

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