Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

HTML Starter

1 star0🌍 Public
PPaul Chen
Last edited Oct 21, 2020
Created on Oct 21, 2020
Forked from HTML Starter

This example demonstrates a simple data-reporting application. It shows a list of cars filtered by price, with each entry formatted as a line of text containing the car's year, make, model, and price. The page initially displays "Loading ..." while the data is fetched asynchronously using a custom `getCars()` function that returns a Promise, simulating a two-second delay. Once loaded, the `generateReport` function filters the car data and formats it using `formatCar`, and the results are rendered into an HTML `<pre>` element. The visualization uses basic JavaScript, Promises, and DOM manipulation, with no external libraries.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed