🌍 Public
Viewing a saved revision (read-only)
a94f95f5fefe4e409ef11a1ba8e2ec41
Cars Report
This example demonstrates a simple text-based report of car listings, filtered by price and formatted as a readable string. The page displays a large, pre-formatted message element that is updated with the generated report content. It showcases the use of ES6 modules, including local imports and exports, alongside the D3 library loaded via UNPKG. The `generateReport` function filters the imported car data and maps each entry through the `formatCar` helper, producing a multi-line output that is inserted into the DOM via `textContent`.
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.