Skip to main content
100%

Cars report

✓ Published0🌍 Public
SSun-XH
Last edited Oct 21, 2021
Created on Oct 21, 2021
Forked from HTML Starter

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 description

This 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

Similar vizzes