🌍 Public
Viewing a saved revision (read-only)
9242cf09f41242a3b61f8f4cb838841d
firstviz
This example displays a text-based report of affordable cars, filtering a small dataset of used vehicles by price and formatting each entry as a single line with year, make, model, and price. The page renders the result inside a `<pre>` element with large font size using plain DOM manipulation via `document.getElementById`. It leverages ES modules for data parsing and report generation, with the car data stored as inline JSON and exported through `JSON.parse`. The core logic uses JavaScript array methods `filter`, `map`, and `join` within a custom `generateReport` function.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.