🌍 Public
Viewing a saved revision (read-only)
f739b625d57047b2b829c2cd77e8a894
Fork clear
This example demonstrates a simple data-report generator that filters a static array of car listings and displays the results as formatted text in a large HTML `<pre>` element. It showcases VizHub’s support for local ES6 modules and external D3 loading via UNPKG, though the visible behavior relies on `JSON.parse` and string manipulation with `filter`, `map`, and `join` from the `cars.js` and `generateReport.js` modules. The page uses `document.getElementById` to update the message element dynamically with the generated report, highlighting modular code organization.
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.