Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Iidlevalor
Last edited Jul 23, 2021
Created on Jul 22, 2021
Forked from D3 Starter

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes