Car Report
This example displays a text-based car report generated from a hardcoded JSON array. It shows a list of vehicles, with each line containing the year, make, model, and price, filtered to only include cars under $2,500. The page initially shows “Loading…” while a promise delays the data retrieval by two seconds, after which the report is rendered. The visualization uses D3.js’s `select` API to update the content of an HTML `<pre>` element, while custom JavaScript functions `getCars` and `generateReport` handle the async data loading and text formatting.