Cars Report
✓ Published1🌍 Public
This example displays a text-based report of cars filtered by price, using a predefined dataset. It demonstrates asynchronous data loading and modular JavaScript organization. The code imports `getCars` and `generateReport` from local modules, and uses standard JavaScript promises and string formatting to generate a list of vehicles under a specified price threshold. The report is rendered inside an HTML `<pre>` element with a large font size, showing simple data-processing without relying on external visualization libraries.
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