Skip to main content
100%

Cars Report

✓ Published0🌍 Public
CCarlIssac
Last edited Nov 19, 2019
Created on Nov 18, 2019
Forked from Hello VizHub

This example displays the make of the first car in a small inline JSON dataset. It demonstrates asynchronous data loading and DOM updates, using a custom `GetCars` function that returns a Promise resolving after a two-second delay. The page initially shows “loading…” via direct textContent assignment, then replaces it with “Honda” once the data resolves. The code uses ES6 modules, a template literal for JSON, and the `getElementById` API to interact with the DOM.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes