Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Ffra-alaimo
Last edited Nov 30, 2019
Created on Nov 30, 2019
Forked from Hello VizHub

This example demonstrates a text-based report of cars filtered by price, displaying each car’s year, make, model, and price in a large, styled `<pre>` element. It shows a loading message before asynchronously fetching car data via a Promise and then generating a formatted list. The code uses `getCars` to simulate a delayed JSON data source, `generateReport` to filter and format entries with `formatCar`, and relies on plain JavaScript string methods like `map` and `join`.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed