CarsReport
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed