Skip to main content
100%

Car Report

✓ Published0🌍 Public
Jjlspangl
Last edited May 19, 2021
Created on May 19, 2021
Forked from Hello VizHub

This example demonstrates a simple text-based report of cars filtered by price, displaying each vehicle’s year, make, model, and cost. It shows asynchronous data loading with a Promise-based `getCars` function, ES6 module imports and exports, and string formatting via `formatCar`. The code uses `JSON.parse` to parse hardcoded car data and `textContent` to update the HTML `<pre>` element. It highlights modular JavaScript organization in VizHub without any charting or visualization libraries.

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