cars reports
✓ Published1🌍 Public
This example demonstrates a simple text-based report of used car listings, filtering a small inline dataset by price and formatting each entry into a readable line. The code uses JavaScript modules (`cars.js`, `formatCar.js`, `generateReport.js`) to parse JSON with `JSON.parse`, filter the array, map cars into formatted strings, and join them with newlines. The generated report is displayed in a `<pre>` element via `document.getElementById` and `textContent`, showing only cars priced below 3000 dollars.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed