Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Rrohit sohlot
Last edited Mar 26, 2020
Created on Mar 26, 2020
Forked from Cars Report

This example demonstrates a JavaScript data-processing pipeline that filters a static car dataset by price and formats the results into a text report. The page initially displays “Loading…” while `getCars` simulates a two-second network delay via a `Promise` and `setTimeout`. The `generateReport` module uses array methods (`filter`, `map`, `join`) and the `formatCar` utility to produce lines like “2000 Honda Accord: $2800”. The final output replaces the loading message inside a `<pre>` element, without any visual chart or graphics library.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed