Cars Report
✓ Published0🌍 Public
The Cars Report example displays a short list of automobiles, showing each vehicle’s year, make, model, and price, but filters the data to display only cars priced under $2,300. The code loads an inline JSON array via `JSON.parse`, then uses `Array.prototype.filter` and `map` to transform the entries into formatted text strings. The final list is joined with newlines and rendered into a DOM element using `document.getElementById().textContent`. The visualization is purely text-based, with no charting or drawing libraries, relying solely on React’s starter structure and the provided `cars.js` data source.
AI-generated descriptionReact Starter code.
MIT Licensed