🌍 Public
Viewing a saved revision (read-only)
17003194bfd545b7b857b12f5b67cabb
Cars Report
A dashboard displays a filtered car report by fetching a static JSON array of five vehicles with `getCars()`, a promise resolving after a two-second delay. It shows cars priced above $2,000, formatted as `year make model: $price` via `formatCar`, and renders the multiline output into a `<pre>` element using `d3.select` and `.text()`. The initial loading state appears before the data arrives, demonstrating asynchronous data handling with D3 v5.
AI-generated description