Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Mmedhedijebara
Last edited May 4, 2021
Created on May 3, 2021
Forked from Hello VizHub

A cars report displays a text-based list of vehicles under a price cutoff, formatted as lines like “2000 Honda Accord: $2800”. It loads car data from a local JSON array via a Promise that resolves after a simulated 2-second delay. The example demonstrates ES6 module imports and exports, including `formatCar` and `generateReport`, which filter and map the data, and updates the DOM’s `textContent` with the resulting message.

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