Cars Report
This example demonstrates a text-based "Cars Report" visualization. It displays a list of cars, formatted as a simple string output, with each line showing the year, make, model, and price. The report only includes vehicles priced under $2,000, as filtered by the `generateReport` function. The data is loaded asynchronously from an embedded JSON array via a Promise in `getCars`. The React app renders the final report into an HTML `<pre>` element, using JavaScript string methods like `.filter()`, `.map()`, and `.join()`.