Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0๐ŸŒ Public
Hhfuio
Last edited Mar 22, 2020
Created on Mar 22, 2020
Forked from Cars Report

This example demonstrates a text-based car report generated from static JSON data. A list of five used cars, including year, make, model, and price, is loaded asynchronously via a Promise in `getCars.js`. The `generateReport.js` module filters cars under a $2,000 price threshold and formats each entry with `formatCar.js`, applying template literals. Output is rendered into a `<pre>` element in `index.html`. The code uses native JavaScript features such as array methods `.filter()` and `.map()`, destructuring, and ES6 module imports, with no external visualization libraries.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed