Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
Ccyro666
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from HTML Starter

This example shows a simple text-based report of cars filtered by price. It loads a hardcoded JSON dataset of five cars, simulates a network request with a two-second delay, and displays a message element showing “Loading…” until data arrives. The `generateReport` function filters cars below a maximum price and formats each entry using the custom `formatCar` function, which returns a string with year, make, model, and price. The output is rendered into an HTML `<pre>` element.

AI-generated description

An example of how to use JS stuff.

Comments

Sign in to join the discussion.

MIT Licensed