Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

8ee05df13f5042c29cfc335ba424be09

Cars Report

0 stars1🌍 Public
SSandraPicarra
Last edited Oct 17, 2020
Created on Oct 17, 2020
Forked from Cars Report

This example demonstrates a simple text-based report of car listings, showing filtered results based on a price threshold. It displays car details like year, make, model, and price for vehicles costing under $2,000, with a "Loading..." message shown while data is fetched. The code uses React, a Promise-based `getCars` function with a simulated 2-second delay, and JavaScript array methods like `filter`, `map`, and `join` to generate the report. Data is embedded as a JSON string in the script, and the output updates the DOM via `textContent`.

AI-generated description

A bare minimum HTML page.

See also React Starter.