🌍 Public
Viewing a saved revision (read-only)
3a42a919d0964b4ab97f359a5dedbba0
Cars Report
This example displays the make of the first car in a static dataset as large, centered text. It loads a hardcoded JSON array of car objects from a local ES6 module named `cars.js` and uses `document.getElementById` to inject the value into an HTML `<pre>` element. The page demonstrates basic module import/export syntax and DOM manipulation without any external libraries.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.