Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Bb-g-h
Last edited Nov 21, 2019
Created on Nov 21, 2019
Forked from Cars Report

This example demonstrates a text-based report that filters a hardcoded dataset of five cars by price and displays a formatted list of matching vehicles. The code defines reusable JavaScript modules—`formatCar.js` for formatting car details, `generateReport.js` for filtering and mapping, and `getCars.js` for parsing embedded JSON data—then combines them in `index.js` to update the page’s `<pre>` element. It shows how to structure data manipulation with ES modules and asynchronous promises in a browser context.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed