🌍 Public
Viewing a saved revision (read-only)
652cb69ab9fc4ba2a9affb513c0a0ef6
Cars Report
This example displays a text-based car report filtered by price. It selects cars priced under 2009 from a small hardcoded JSON dataset and formats each entry into a single line containing year, make, model, and price. The page then renders the resulting list in a large monospace font. The code demonstrates local ES6 module imports and exports for data (`cars.js`), formatting (`formatCar.js`), and report generation (`report.js`), with no external libraries beyond the default bundled setup.
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.