Skip to main content
100%

Fork of Cars Report

✓ Published0🌍 Public
Vvsapro
Last edited Mar 16, 2023
Created on Mar 16, 2023
Forked from Cars Report

This example demonstrates a simple JavaScript data report that filters a list of cars based on a maximum price and formats the results as readable text. The visualization shows the output in a large HTML `<pre>` element, populated by JavaScript code. It uses the `cars` array defined in `cars.js`, the `formatCar` function from `formatCar.js`, and the `generateReport` function in `generateReport.js` to process the data. The initial display, however, only shows the make of the first car via `index.js`, using the DOM property `textContent` to update the message element.

AI-generated description

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

MIT Licensed

Similar vizzes