Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
KKennethSF
Last edited Aug 20, 2019
Created on Aug 18, 2019
Forked from Hello VizHub

This example demonstrates a text-based data report that lists cars from a JavaScript array filtered by a maximum price. It shows a loading message followed by the formatted list of vehicles under $3,000, including year, make, model, and price. The code uses the Promise-based `getCars` function with a simulated 2-second delay, the `filter` and `map` methods, and the ES6 module `formatCar` to generate the output. The HTML pre element displays the report with the Ubuntu font on a dark background.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed