Fork of Fork of Cars Report
✓ Published1🌍 Public
This example demonstrates how to build a simple, text-based report from a static dataset of cars using ES6 modules. It loads a hardcoded JSON array of car objects via a local async function and filters them by price, formatting each match into a readable line with the `formatCar` helper. The report is generated using the `generateReport` function and displayed inside a `<pre>` element. The code shows how to use `import`/`export` for both local modules and the D3 library, though D3 itself is not used in the logic.
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