Skip to main content
100%

Cars report

✓ Published0🌍 Public
RRobindj2000
Last edited Dec 2, 2021
Created on Dec 2, 2021
Forked from Hello VizHub

This example displays a text-based report of cars priced under $2,500, listing each vehicle’s year, make, model, and price from a hardcoded JSON array. It demonstrates JavaScript module usage and asynchronous data handling, using `getCars()` with a simulated two-second delay, `generateReport()` to filter and format entries, and `formatCar()` for string output. The `index.html` shows the result in a `<pre>` element via DOM manipulation in `index.js`.

AI-generated description

An example to work with javascript and modules.

MIT Licensed

Similar vizzes