🌍 Public
Viewing a saved revision (read-only)
34a964e1a41b44c09a9d2a94960f7c36
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.