🌍 Public
Viewing a saved revision (read-only)
fb8e90cefc6a4b6e9c3daf7e0c50a36b
Hello VizHub
This example demonstrates an asynchronous data-fetching and reporting workflow in VizHub. It retrieves a hardcoded JSON array of car records via a custom `getCars()` promise, then formats each entry into a text line using `formatCar` and `generateReport`. The final report is displayed in a styled `div` using plain DOM manipulation via `document.getElementById`, alongside D3 v5’s `select` import. The page features a large Ubuntu font and a dark blue background from the linked stylesheet.
AI-generated descriptionAn example showing the capabilities of VizHub.