Skip to main content
100%

CarsReport

✓ Published0🌍 Public
GGurungRegina
Last edited Jan 18, 2023
Created on Jan 18, 2023
Forked from Hello VizHub

This example displays a text-based car report that lists vehicles under a price threshold. It demonstrates loading data asynchronously via a Promise and formatting it into a readable string. The code uses D3 v5 loaded from UNPKG, along with ES6 modules for importing functions like `getCars` and `generateReport`. It parses JSON data and filters cars by price, showing a "Loading..." message before the report appears.

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