Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

c46941eff34646c88acf4baefb13a253

Cars Report

0 stars0🌍 Public
Ppandeykriti
Last edited Apr 12, 2020
Created on Apr 12, 2020
Forked from React Starter

This example presents a text-based report of used cars, highlighting models priced under $2000. It parses a hard-coded JSON array of car objects using `JSON.parse`, then filters and formats the data with JavaScript’s array methods and a custom `formatCar` function. The resulting list is displayed in an HTML `<pre>` element by setting its `textContent` in React, rendering the final message directly in the browser.

AI-generated description

React Starter code.