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
JJames DePaola
Last edited Feb 2, 2021
Created on Feb 2, 2021
Forked from Hello VizHub

This example shows a simple report of car data, displaying a single formatted line of text about one car from a small dataset. It loads D3 v5 from UNPKG and uses an ES6 module to asynchronously fetch car data with a Promise after a simulated delay. The page initially shows a loading message, then updates the text content of an HTML element using `document.getElementById` to display the selected car’s year, make, model, and price. The code demonstrates importing local modules and using D3 via a script tag.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed