Cars Report
✓ Published0🌍 Public
This example renders a simple text report about cars from a static JSON array imported via an ES6 module. It displays the make of the first car in large, styled text using the Ubuntu font from Google Fonts, with dark blue page background and light text color. The code defines a `formatCar` function to convert a car object into a readable string, and it filters, maps, and joins the data, though only the first car’s make is ultimately shown in the `message-element` `<pre>` tag. It uses plain JavaScript array methods and DOM manipulation via `document.getElementById`.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed