Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Ffolbrich001
Last edited Apr 22, 2020
Created on Apr 22, 2020
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes