Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

a6f214e1c67b427198138c524c6d8992

Cars Report

0 stars0🌍 Public
Ggregstaity
Last edited Oct 11, 2019
Created on Oct 11, 2019
Forked from Hello VizHub

This example generates a text-based report of cars priced under $1,950 from a small embedded dataset. It filters the list of five car records by price, formats each entry as a string combining year, make, model, and price, then displays the resulting multi-line message in a large `<pre>` element. The code demonstrates modular ES6 imports (using `cars.js`, `generateReport.js`, and `formatCar.js`) and manual DOM manipulation via `textContent` in `index.js`.

AI-generated description

An example showing the capabilities of VizHub.