Skip to main content
100%

cars reports

✓ Published1🌍 Public
Nnightjean7
Last edited Mar 6, 2020
Created on Mar 6, 2020
Forked from cars reports

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 description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes