Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars2🌍 Public
Aaktilak
Last edited Oct 5, 2020
Created on Oct 5, 2020
Forked from Cars Report

This example demonstrates how to generate a text report listing cars priced under $2,000, using data embedded as a JSON string. It fetches the data asynchronously via a Promise with a simulated delay, then filters and formats the entries using custom JavaScript modules. The report is displayed in a `<pre>` element styled with large font size. The code relies on native JavaScript array methods like `filter`, `map`, and `join`, along with `JSON.parse` and template literals.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed