Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
AAnthony-coding
Last edited Nov 17, 2019
Created on Nov 14, 2019
Forked from Cars Report

This example displays a car report by filtering a list of cars to include only those priced under $2,000, formatting each entry with the year, make, model, and price, and presenting the results as plain text. The page initially shows a “Loading...” message while `getCars` fetches the data from an embedded JSON array after a simulated two-second delay. The code uses JavaScript promises, array methods like `filter` and `map`, and template literals within the `formatCar` and `generateReport` functions, while the HTML and CSS style the output with a large white monospace font on a light blue background.

AI-generated description

a file showing a cars report.

Comments

Sign in to join the discussion.

MIT Licensed