Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

28f6d1e0f56c4a0f96fa92d80b81e7d3

Cars Report

0 stars0🌍 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.