Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed