Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

661a60a41ff142ad8a54986ed9f53ff8

Cars Report

0 stars0🌍 Public
DDuarte Meneses
Last edited Sep 18, 2019
Created on Sep 18, 2019
Forked from Hello VizHub

The cars report demonstrates basic data filtering and text rendering in VizHub. It imports a small hardcoded dataset of car objects from an ES6 module, filters the entries to those priced under $2000, and formats each remaining car into a string with its year, make, model, and price using template literals. The resulting report is concatenated with a line break and displayed as plain text inside an HTML `<pre>` element via the DOM’s `textContent` property. The example uses no external visualization libraries, relying solely on vanilla JavaScript and the module import syntax.

AI-generated description

An example showing the capabilities of VizHub.