Skip to main content
100%

Cars Report

✓ Published0🌍 Public
NNathan Cheever
Last edited Dec 27, 2019
Created on Dec 24, 2019
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes