Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

34a964e1a41b44c09a9d2a94960f7c36

Cars Report

0 stars0🌍 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.