Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cars Report

Public visualization

Viewing a saved revision (read-only)

04pVi2DO2yyYQ-obrbOZk

Fork of Cars Report

0 stars0🌍 Public
NNikhil206-docom
Last edited Nov 1, 2026
Created on Nov 1, 2026
Forked from Cars Report

This example shows a text-based report of cars filtered by price, displaying each car’s year, make, model, and price. It uses a static JSON array embedded in `getCars.js`, returning a Promise with a two-second delay to simulate async data loading. The `generateReport` function filters cars under a maximum price and maps them through `formatCar` to produce formatted strings. The DOM is updated via the native `document.getElementById` and `.textContent`, with no external visualization libraries, relying on modern JavaScript modules and template literals.

MIT Licensed