Skip to main content
100%

Cars Report

✓ Published0🌍 Public
PPaulCaballero
Last edited Aug 21, 2019
Created on Aug 21, 2019
Forked from Cars Report

This example displays a text-based report of cars priced under $2000, using static JSON data embedded directly in the code. It filters the inline `cars` array with `.filter()` to select qualifying vehicles, formats each entry with a template literal, and joins them with `.join('\n')` into a single message. The result is rendered into a `<pre>` element by setting `textContent` via `document.getElementById()`, with styling applied through a Google Fonts-driven CSS file.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes