Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

016df3999bb14809aecc978931b43b3f

Cars Report

0 stars1🌍 Public
Ssamwatersw15
Last edited Sep 12, 2020
Created on Sep 9, 2020
Forked from HTML Starter

This example displays a text-based report of cars priced under $2,000, listing each vehicle’s year, make, model, and price. The page initially shows “loading...” while the data is fetched asynchronously. Using React, the code defines a `getCars` function that simulates a delay before returning a JSON array, and a `genReport` function that filters and formats the entries. The report is rendered into a `<pre>` element via vanilla JavaScript DOM manipulation.

AI-generated description

A bare minimum HTML page.

See also React Starter.