Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Cars Report

0
Jjlspangl
Last edited May 19, 2021
Created on May 19, 2021
Forked from Cars Report

This example demonstrates a JavaScript module-based workflow for generating a text report of used cars filtered by price. It shows a loading message, then displays a formatted list of cars under $2,000, including year, make, model, and price. The code uses `JSON.parse` to load an embedded car dataset, `Promise` with `setTimeout` to simulate an asynchronous API call, and `Array.filter` and `map` combined with string template literals to build the output. The report is rendered directly into an HTML `<pre>` element.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed