Cars Report
✓ Published0🌍 Public
This example demonstrates a simple text-based report generator that filters a list of used cars by price and formats the results. It uses static JSON data defined in the source code, containing five car objects with make, model, year, and price properties. The application filters for cars priced under $2,000, formats each entry using a custom `CarFormatter` utility, and displays the output in a large `<pre>` element. The code leverages ES6 modules and imports, along with JavaScript’s native `JSON.parse`, `filter`, and `map` methods, but does not use D3 or other visualization libraries.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed