Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CarsReport

Public visualization

Viewing a saved revision (read-only)

f600820540724f9ea6b6a727bbf8814b

CarsReport

0 stars0🌍 Public
Vvicjomaa
Last edited Mar 22, 2021
Created on Mar 22, 2021
Forked from HTML Starter

This example displays a text-based report of cars priced under $2,000, listing each vehicle’s year, model, make, and price. After a two-second simulated delay, the page replaces a “loading...” message with the generated list. The code uses a custom `getCars` promise to fetch hardcoded JSON data, `generateReport` with `filter` and `map` to process entries, and D3 v5 only in the HTML script tag. The interface is a simple `<pre>` element updated via DOM manipulation.

AI-generated description

Example tutorial how to use models