Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

728518cfa44941c3bfc271677c3ab430

Cars Report

0 stars0🌍 Public
Jjmarcrum3
Last edited Jan 18, 2020
Created on Jan 18, 2020
Forked from React Starter

This example displays a list of cars priced under $2,000. The `generateReport` function filters the hard-coded car JSON data by price and formats each entry with the `formatCar` helper, producing lines like "2009 Ford F150: $1950". The resulting text is output into a `<pre>` element with a large font size using `document.getElementById` and `textContent`. The code uses JavaScript string manipulation and `JSON.parse` for data handling.

AI-generated description