Cars report
✓ Published0🌍 Public
This example displays a text-based report of used cars priced under $2,000, listing each vehicle’s year, make, model, and price. After a simulated two-second delay, the data loads and the report replaces an initial “Loading data” message in the page’s `<pre>` element. The code uses JavaScript promises and `setTimeout` in `getCars.js` to fetch the data, and the `generateReport` function filters and formats the car objects via `Array.filter` and `Array.map`.
AI-generated descriptionThis is my first time trying to use Javascript to implement something. Looks good to me. Hope I can get familiar with Javascript and d3 ASAP.
MIT Licensed