Skip to main content
100%

Cars report

✓ Published0🌍 Public
AArtem Bykov
Last edited Aug 7, 2020
Created on Aug 7, 2020
Forked from Hello VizHub

This example displays a formatted text report of cars priced under $5,000, listing each vehicle’s year, make, model, and price on a separate line. The React-based page renders the report into a large `<pre>` element using a simple string transformation. The code parses car data from an embedded JSON array in `cars.js` and `index.js`, then applies a filtering and mapping pipeline with `Array.filter` and `Array.map` to produce the final message. The visualization relies on React 16.13.1 for the UI base, while the report content is updated directly via `document.getElementById` to inject text into the DOM.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes