Skip to main content
Public

Share visualization

Loading preview…

HTML Starter

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

HTML Starter

0
SSophia Murage
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from HTML Starter

This example demonstrates asynchronous JavaScript data loading and report generation. It imports a car dataset from a JSON string parsed with `JSON.parse`, fetches it via a custom `getCars` promise with a two-second delay, and filters cars by price using `generateReport` and `formatCar` modules. The resulting text, listing years, makes, and prices, is displayed in a `<pre>` element styled with CSS. The code uses ES6 modules, array methods like `filter` and `map`, and template literals, with no external libraries.

AI-generated description

Javascript Objects Arrays and Modules.

Comments

Sign in to join the discussion.

MIT Licensed