Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Ppeiselttu
Last edited Dec 31, 2019
Created on Dec 30, 2019
Forked from React Starter

The Cars Report displays a static line of text showing the first car record from a bundled JSON array, formatted as “year make model:price.” The visualization also filters the dataset for cars under $3000, though this computed result is not rendered on the page. The example runs in React with a plain `index.html` container, using a `<pre>` element for the message. It relies on the `cars.js` module, which parses embedded JSON via `JSON.parse`, and the `index.js` script, which uses array methods `filter`, `map`, and `join` to process records and the DOM API `getElementById` and `textContent` to output the message.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes