Cars Report
✓ Published0🌍 Public
This example demonstrates a simple text-based report of cars, displaying a list of vehicles under a specified price threshold. It loads a hardcoded JSON array of car data and filters it to show only those priced below 2000 dollars. The report is rendered as plain text within a preformatted HTML element. The code uses a Promise to simulate a two-second data loading delay, then applies a custom filter and formatting logic. It imports local ES6 modules for data fetching and report generation, though it does not use any D3.js functions despite the file structure.
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