Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

7bbf246b0f334ce79c2db47afc65a35d

Cars Report

0 stars0🌍 Public
ZZackaz
Last edited Dec 15, 2020
Created on Dec 15, 2020
Forked from React Starter

This example displays a list of cars filtered by price, showing each vehicle’s year, make, model, and cost as plain text. It fetches demo data from a local JSON array via a simulated asynchronous `getCars` promise, then applies a filtering and formatting pipeline using `generateReport` and `formatCar`. The React-based view updates a DOM element directly with `document.getElementById`, replacing an initial “Loading…” message with the final report.

AI-generated description

An example tutorial of how to use Javascript objects, arrays and modules.