Skip to main content
100%

cars report

✓ Published1🌍 Public
BBryan Liu
Last edited May 18, 2020
Created on May 16, 2020
Forked from HTML Starter

This example displays a text-based report of cars priced under $2,000, generated from an embedded JSON dataset. It uses a simulated asynchronous fetch (`getCars`) with a two-second delay, then filters and formats the data using `Array.filter`, `Array.map`, and a custom `formatCar` function. The output is rendered into an HTML `<pre>` element via the Document Object Model. The visualization demonstrates a loading state ("Loading ...") before the final list of car descriptions appears.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes