Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Yyouri7
Last edited Mar 9, 2021
Created on Mar 9, 2021
Forked from Hello VizHub

This example shows a plain-text report of five cars, listing each vehicle’s year, brand, model, and price, filtered to include only those priced under $2,000. The report is generated from an embedded JSON array parsed with `JSON.parse`, then processed through `Array.filter`, `Array.map`, and `Array.join` to produce formatted lines. The result is displayed inside a `<pre>` element by setting `textContent` via the DOM API, using a custom `formatCar` utility to assemble each line.

AI-generated description
MIT Licensed

Similar vizzes