🌍 Public
Viewing a saved revision (read-only)
882df70688ae4a4fb01155c55d8f3d4c
Cars Report
This example demonstrates a simple text-based report generation workflow. It displays a list of cars, filtering and formatting data asynchronously. The code uses D3 v5 loaded via a CDN, alongside local ES6 modules for data fetching and report generation. A Promise with a two-second delay simulates an API call to retrieve hardcoded JSON car data. The final output is rendered into an HTML `<pre>` element, styled with CSS.
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.