🌍 Public
Viewing a saved revision (read-only)
bdbc5a31aaf34ca4968b8f16741aeec5
Cars Report
This example displays a single car listing—a 2000 Honda Accord priced at $2800—in large, plain text on a webpage. The data comes from an embedded JavaScript array of five car objects, each containing year, make, model, and price. The code imports that array from `cars.js` as a JSON-parsed constant, then uses array methods `filter` and `map` to format and select entries, though the final display only shows the first car via a template literal. No external visualization libraries are used; the interface relies on basic DOM manipulation through `document.getElementById` to inject the message into a `<pre>` element.
AI-generated descriptionAn example showing the capabilities of VizHub.