Cars Report
✓ Published0🌍 Public
This example demonstrates a minimal data-reporting page titled “Cars Report” that displays the make of the first car in a hardcoded JSON array. The page renders the text “Ram” prominently in a large, centered font using the Ubuntu typeface on a dark navy background. The code imports the car data from a separate ES6 module, `cars.js`, and uses plain JavaScript DOM manipulation via `document.getElementById` and `textContent` to inject the value into an HTML `<pre>` element. The styling is applied through an external `styles.css` file, with the layout defined in `index.html`.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed