Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
YYineng Zhang
Last edited Oct 29, 2020
Created on Oct 28, 2020
Forked from React Starter

This example displays a simple text-based report of used cars priced under $2,000, formatted as a multi-line list. It starts with a hardcoded JSON dataset of five vehicles, then filters and formats entries using the custom `generatereport` and `formatCar` functions. The result is rendered into a `<pre>` element within a React-like module structure, though the rendering relies on direct DOM manipulation via `document.getElementById().textContent`. The data includes year, make, model, and price fields, with output presented in a large monospace font.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed