Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Sshreyagoddu
Last edited Aug 15, 2020
Created on Aug 15, 2020
Forked from React Starter

This example displays a text-based report of cars priced above a threshold, generated from a static JSON dataset. After a simulated one-second delay via a Promise, the code filters the car data by price, formats each entry into a string, and updates the message element. The visualization uses React for project structure, though the core logic relies on DOM manipulation with `document.getElementById`, asynchronous data loading with `getCars`, and string formatting functions from `formatCar.js` and `generateReport.js`. The final output appears as multiline text in the browser.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes