Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

84ed101187894a909ced7bac4d2f3307

Cars Report

0 stars1🌍 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