Skip to main content
100%

Cars Report

✓ Published0🌍 Public
SSteve-Vail
Last edited Jul 18, 2019
Created on Jul 18, 2019
Forked from Hello VizHub

This example generates a text-based report of used cars from a hardcoded JSON dataset. It filters the car list by a maximum price and formats each matching vehicle into a readable string. The visualization uses the `generateReport` function with array methods like `filter`, `map`, and `join` to produce a plain-text output. The car data is parsed from a JSON string using `JSON.parse`, and the final report is displayed in an HTML `<pre>` element. The page uses a simple DOM selection with `document.getElementById` to update the message content.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes