Skip to main content
100%

Cars Report

✓ Published0🌍 Public
MMinh Tri Ho Thanh
Last edited Feb 2, 2020
Created on Jan 29, 2020
Forked from React Starter

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 description

Tutorial of JavaScript objects, arrays and modules.

MIT Licensed

Similar vizzes