🌍 Public
Viewing a saved revision (read-only)
bb2c90512cde4c2290c3639e6a9e33f6
Cars Report
This example displays a text-based report of cars priced below $2,800, listing each vehicle’s year, make, model, and price on a large, styled webpage. It uses JavaScript array methods like `filter`, `map`, and `join` to process a static JSON dataset of five cars, while the `formatCar` function formats each entry. The output is rendered into a `<pre>` element via `document.getElementById` and `textContent`.
AI-generated descriptionAn example showing the capabilities of VizHub.