Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cars Report

Public visualization

Viewing a saved revision (read-only)

0c9edd26ea3049c6bc60960a9ffa6b82

Fork of Cars Report

0 stars0🌍 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.