Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Kkburnettf
Last edited Oct 20, 2019
Created on Oct 19, 2019
Forked from Hello VizHub

This example shows a list of used cars filtered by price, displaying only vehicles under $2,000 as formatted text lines in a pre element. The page initially shows "loading...", then after a two-second delay, the report replaces that placeholder. The code uses ES6 modules to organize logic: `getCars.js` returns a Promise that resolves with a hardcoded JSON array of five car objects, while `generateReport.js` filters and maps those cars using `formatCar.js` to produce strings like "2009 Ford F150: $1950". The HTML is minimal, with styling from an external Ubuntu font and dark blue background.

AI-generated description

An example of javascript modules

MIT Licensed

Similar vizzes