Skip to main content
100%

Fork of Cars Report

✓ Published0🌍 Public
CCarloWK1202
Last edited Jun 29, 2022
Created on Jun 29, 2022
Forked from Cars Report

This example demonstrates a simple text-based car report generated from a static JSON dataset embedded in the source. It filters a list of five vehicles by a maximum price of $2,000, formats each matching car as a string using the `formatCar` function, and displays the results in a `<pre>` element. The visualization relies on asynchronous data loading via `getCars`, which returns a Promise that resolves after a two-second delay, and the report is generated using the `generateReport` module.

AI-generated description

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

MIT Licensed

Similar vizzes