🌍 Public
Viewing a saved revision (read-only)
2349c47c34254d4c9c21059388ddb310
Cars Report
This example displays a static text report of car listings, filtering the dataset to show only vehicles manufactured after 2000. It uses the native JavaScript `filter` and `map` array methods along with a custom `formatCar` function to prepare the output, though only the first car’s make is ultimately rendered. The data comes from an inline JSON array containing car make, model, year, and price, and the visualization updates a single `<pre>` element via `document.getElementById` and `textContent`.
AI-generated descriptionAn example showing the capabilities of VizHub.