Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Mmgermaine93
Last edited Aug 28, 2020
Created on Aug 28, 2020
Forked from React Starter

This example displays a simple text-based report of used cars priced under $2,000. It filters a static JSON array of car objects and formats each matching entry into a single line showing year, make, model, and price. The code uses React for rendering, while `Array.filter`, `Array.map`, and `Array.join` build the output. The result appears in a `<pre>` element with large font size, updated via the DOM API `document.getElementById().textContent`.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed