🌍 Public
Cars report
This example displays a text-based car report generated from a hardcoded JSON array. The page uses asynchronous JavaScript and D3 version 6 to fetch car data via a custom `getCars` promise, filter entries by price, and format each line as “year make model: $price” using the `formatCar` helper. The output is rendered inside a `<pre>` element.
AI-generated descriptionA demonstration how to use D3 version 6
MIT Licensed
Comments
Sign in to join the discussion.