Cars Report
✓ Published1🌍 Public
This example displays a simple text-based report of cars filtered by price. It shows a loading message while a promise with a five-second delay resolves, then renders a formatted list of vehicles whose price exceeds a maximum threshold. The entry point (index.js) calls `getCars()`, a function that parses inline JSON data and returns a Promise, then uses the `generateReport` and `formatCar` ES6 modules to filter and stringify each car’s make, model, year, and price. The output appears in a styled `<pre>` element on a dark page.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed