Cars Report
✓ Published0🌍 Public
This example demonstrates a simple asynchronous data-loading and text-report workflow. It fetches a hardcoded JSON array of car objects through a custom `getCars()` promise, filters them by price, and formats the results into a plain-text list. The code uses ES6 modules (`import`/`export`) and relies on D3 only for loading via UNPKG, though no D3 visualization is rendered. The final output is displayed inside a `<pre>` element in the HTML, showing a report of cars under a specified price threshold.
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