Skip to main content
100%

test

✓ Published0🌍 Public
Hhxiao-git
Last edited Aug 14, 2019
Created on Aug 12, 2019
Forked from Hello VizHub

This example demonstrates asynchronous data loading and text generation by fetching a hardcoded JSON array of used cars and displaying a filtered report of models under a price threshold. The page initially shows a loading message, then updates the DOM with formatted car details after a simulated two-second delay using a Promise. The code relies on native JavaScript features like `JSON.parse`, `setTimeout`, and ES6 modules, while the report formatting is handled by custom functions `formatCar` and `generateReport`. Styling is applied via a CSS file with an imported Google Font, and the visualization is presented as large plain text in a `<pre>` element.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes