Cars Report
✓ Published0🌍 Public
This example demonstrates a text-based car report generated from five manually embedded car records, each containing year, make, model, and price. The page displays the report in a large `<pre>` element, listing only cars priced below 2000 dollars. The code uses JavaScript object destructuring in `formatCar.js` to format each entry, and `Array.filter` and `Array.map` in `generateReport.js` to process the data before joining results with newlines. The HTML sets the text content via `document.getElementById().textContent` using the bundled `index.js` module.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed