Skip to main content
Public

Share visualization

Loading preview…

Cars Report

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Cars Report

0
Ddbidwai
Last edited Nov 22, 2020
Created on Nov 22, 2020
Forked from Cars Report

This example demonstrates a JavaScript tutorial that asynchronously fetches car data and generates a text report. It shows how to use objects, arrays, and ES modules to parse JSON, filter cars by price, and format output strings. The code uses `getCars()` with a Promise and `setTimeout` to simulate a delay, then applies `generateReport` with `filter`, `map`, and `join` to display a list of cars under $2,000. The message element in the HTML updates from "Loading..." to the final report.

AI-generated description

An example tutorial of how to use JavaScript objects, arrays, and modules.

Comments

Sign in to join the discussion.

MIT Licensed