Skip to main content
100%

Cars Report

✓ Published0🌍 Public
FFedor Sharygin
Last edited Feb 26, 2021
Created on Feb 26, 2021
Forked from Hello VizHub!

This example displays a text-based report of cars, formatted with year, make, model, and price for vehicles under a specified price threshold. The page initially shows “Loading…” while a simulated asynchronous data source, `getCars`, returns a hardcoded JSON array after a two-second delay. JavaScript functions `formatCar` and `generateReport` filter and format the data, then the resulting multiline string is inserted into a `<pre>` element, rendering with large font size.

AI-generated description
MIT Licensed

Similar vizzes