Skip to main content
100%

Cars Report

✓ Published0🌍 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.

MIT Licensed

Similar vizzes