Skip to main content
100%

Cars Report

✓ Published0🌍 Public
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.
MIT Licensed

Similar vizzes