Car Report
✓ Published0🌍 Public
This example shows a plain-text car report that filters a small dataset of vehicles by price. It displays only cars under $3,000, formatting each entry as a line with the year, make, model, and price, then renders them in a large font in the browser. The code imports data from a JSON-like array defined in `cars.js`, applies `Array.filter`, `Array.map`, and `Array.join` to build the report, and writes it to the DOM using `document.getElementById` and `textContent`. It relies on D3 version 6 conventions for module importing, though no D3 visualization APIs are used.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed