Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report 1212

Public visualization

Cars Report 1212

0 stars0🌍 Public
DDavid-Wong110723
Last edited Dec 12, 2021
Created on Dec 12, 2021
Forked from Cars Report

This example demonstrates a simple text-based report generator that filters a list of cars by price and formats the results using JavaScript template literals. It displays a static message in an HTML `<pre>` element, with the core functionality built on array methods like `filter`, `map`, and `join`. The code uses ES6 modules to import and export functions from separate files, parses JSON data with `JSON.parse`, and relies on a `Promise` for asynchronous data retrieval in `getCars.js`. The visualization is rendered directly in the browser via a bundled script.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed