CarsReport
✓ Published0🌍 Public
This example displays a text-based report of cars priced under $2,000, listing each vehicle’s year, model, make, and price. After a two-second simulated delay, the page replaces a “loading...” message with the generated list. The code uses a custom `getCars` promise to fetch hardcoded JSON data, `generateReport` with `filter` and `map` to process entries, and D3 v5 only in the HTML script tag. The interface is a simple `<pre>` element updated via DOM manipulation.
AI-generated descriptionExample tutorial how to use models
MIT Licensed