Cars Report
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub.
MIT Licensed