Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Llialee99
Last edited Jan 6, 2020
Created on Jan 6, 2020
Forked from HTML Starter

This example displays a simple text-based report of cars, showing each vehicle’s year, make, model, and price. It filters the dataset to include only cars priced below a specified maximum, then formats each matching car as a single line. The visualization uses React with plain JavaScript, parsing embedded JSON data via `JSON.parse` and rendering the result into an HTML element using the DOM `textContent` property. The `formatCar` function handles string construction, while the filtered and mapped array is joined with newlines for display.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed