🌍 Public
Viewing a saved revision (read-only)
c93aed27e6124e85b2c870803227f43b
Cars Report
This gallery example demonstrates a data-reporting visualization that filters a small JavaScript array of car objects—containing year, make, model, and price—to show only vehicles priced above a given threshold, then formats the results as plain text lines. The page displays the output in a large `<pre>` element, with styling controlled by inline CSS. The implementation uses `JSON.parse` to load data from a static array, `Array.filter` and `Array.map` for processing, and JavaScript object destructuring within a custom `formatCar` function.
AI-generated descriptionTutorial of JavaScript objects, arrays and modules.