Cars Report
✓ Published0🌍 Public
This data-visualization example displays a text-based report of cars priced under $2,000. It begins with a "Loading..." message and then presents a list of car details (year, make, model, and price) after a simulated two-second data fetch. Built with React, the code uses JavaScript’s `Promise` for asynchronous data retrieval and string formatting via custom modules. The report is generated by filtering an inline JSON array and mapping each car to a formatted string, which is then rendered in a `<pre>` element.
AI-generated descriptionReact Starter code.
MIT Licensed