Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Yyubeichen0826
Last edited Aug 8, 2020
Created on Aug 8, 2020
Forked from HTML Starter

This example displays a text-based report of cars filtered by price. It lists each car as a formatted string showing the year, make, model, and price for vehicles under a maximum price threshold. The React code imports car data and uses functional utilities like `filter` and `map`, along with a custom `generateReport` function that joins the formatted entries with newlines. The report is rendered into a `<pre>` element using vanilla `document.getElementById` and `textContent`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed