Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Cars report

Public visualization

Cars report

0 stars0๐ŸŒ Public
Aandrewmcobrien
Last edited May 12, 2020
Created on May 12, 2020
Forked from Untitled

This example displays a filtered text report of used cars, listing models whose price exceeds a specified threshold. It uses the DOM API to set the text content of two `<pre>` elements, with one showing the formatted report and the other displaying a single car make. The data is embedded as JSON in the source and filtered using the native array methods `filter` and `map`, while string templates in the `formatCar` helper construct the output lines.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed