Visualization - Cars report
This example displays a text-based car report, filtering a hardcoded dataset of five cars to show only those priced under $2,000. The page initially shows “Loading…” while a simulated two-second delay fetches the data via a Promise in `getCars.js`. Once resolved, React’s `generateReport` utility filters and formats each car’s year, make, model, and price into lines of text, which are then written into the DOM’s `msg-element` using plain JavaScript. The visualization relies on asynchronous data handling and string manipulation, with no graphical rendering libraries.