Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

e561b739ab344590922b2af11a37d48e

Cars Report

0 stars0🌍 Public
XXinya Gao
Last edited Dec 27, 2020
Created on Dec 27, 2020
Forked from HTML Starter

This example displays a list of cars filtered by price, showing each vehicle’s year, make, model, and cost as plain text. The page initially shows “Loading...” while a simulated asynchronous call to `getCars()` resolves after two seconds. The `generateReport` function filters the JSON data for cars under $2,000 and formats each entry using `formatCar`, which constructs the output string. The result is written into a `<pre>` element via the DOM API, with styling applied through inline CSS in the HTML file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.